MatrixInt.CopyToArray Method

Overload List

#SignatureDescription
1TMtxVecInt CopyToArray(ref TCplx[] Dst)Copies values from the calling object to the Dst array and converts data to double precision numbers.
└ indexed: TMtxVecInt CopyToArray(ref TCplx[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
2TMtxVecInt CopyToArray(ref Byte[] Dst)Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers.
└ indexed: TMtxVecInt CopyToArray(ref Byte[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
3void CopyToArray(ref Byte[][] Dst)Copies all matrix values to a 2D array.
4TMtxVecInt CopyToArray(ref Double[] Dst)Copy values to Dst array. The size of the array is set automatically.
└ indexed: TMtxVecInt CopyToArray(ref Double[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
5TMtxVecInt CopyToArray(ref Int16[] Dst)Copies values from the calling object to the Dst array and converts data to 2 byte signed integer numbers.
└ indexed: TMtxVecInt CopyToArray(ref Int16[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
6void CopyToArray(ref Int16[][] Dst)Copies all matrix values to a 2D array.
7TMtxVecInt CopyToArray(ref Int32[] Dst)Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers.
└ indexed: TMtxVecInt CopyToArray(ref Int32[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
8void CopyToArray(ref Int32[][] Dst)Copies matrix values to a 2D array.
9TMtxVecInt CopyToArray(ref Single[] Dst)Copies the calling object data to an array of single precision floating point data.
└ indexed: TMtxVecInt CopyToArray(ref Single[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)
10TMtxVecInt CopyToArray(ref UInt16[] Dst)Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer type.
└ indexed: TMtxVecInt CopyToArray(ref UInt16[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVecInt CopyToArray(ref TCplx[] Dst)

Copies values from the calling object to the Dst array and converts data to double precision numbers.

#NameTypeDescription
1DstTCplx[] (ref)

Result: stored in self (calling object), returns self for chaining

Remarks:

Consecutive elements are converted to real and imaginary parts.

Indexed: TMtxVecInt CopyToArray(ref TCplx[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstTCplx[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed. The method converts calling object values to double precision floating point values. Consecutive elements are converted to real and imaginary parts.

Overload 2: TMtxVecInt CopyToArray(ref Byte[] Dst)

Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers.

#NameTypeDescription
1DstByte[] (ref)

Result: stored in self (calling object), returns self for chaining

Remarks:

Values exceeding the range of 1 byte unsigned integer type are clipped.

Indexed: TMtxVecInt CopyToArray(ref Byte[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstByte[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed. Values exceeding the range of 1 byte unsigned integer type are clipped.

Overload 3: void CopyToArray(ref Byte[][] Dst)

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstByte[][] (ref)

Result: stored in self (calling object)

Overload 4: TMtxVecInt CopyToArray(ref Double[] Dst)

Copy values to Dst array. The size of the array is set automatically.

#NameTypeDescription
1DstDouble[] (ref)

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVecInt CopyToArray(ref Double[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstDouble[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed.

Overload 5: TMtxVecInt CopyToArray(ref Int16[] Dst)

Copies values from the calling object to the Dst array and converts data to 2 byte signed integer numbers.

#NameTypeDescription
1DstInt16[] (ref)

Result: stored in self (calling object), returns self for chaining

Remarks:

Values exceeding the range of a 2 byte signed integer type are clipped.

Indexed: TMtxVecInt CopyToArray(ref Int16[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstInt16[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed. Values exceeding the range of a 2 byte signed integer type are clipped.

Overload 6: void CopyToArray(ref Int16[][] Dst)

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstInt16[][] (ref)

Result: stored in self (calling object)

Overload 7: TMtxVecInt CopyToArray(ref Int32[] Dst)

Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers.

#NameTypeDescription
1DstInt32[] (ref)

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVecInt CopyToArray(ref Int32[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstInt32[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed. The method converts calling object values to 4 byte signed integers. Values exceeding the range of a 4 byte signed integer type are clipped.

Overload 8: void CopyToArray(ref Int32[][] Dst)

Copies matrix values to a 2D array.

#NameTypeDescription
1DstInt32[][] (ref)

Result: stored in self (calling object)

Remarks:

Copies all matrix values to a 2D array.

Overload 9: TMtxVecInt CopyToArray(ref Single[] Dst)

Copies the calling object data to an array of single precision floating point data.

#NameTypeDescription
1DstSingle[] (ref)

Result: stored in self (calling object), returns self for chaining

Remarks:

Any values exceeding the range are clipped.

Indexed: TMtxVecInt CopyToArray(ref Single[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst single precision floating point array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstSingle[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed.

Overload 10: TMtxVecInt CopyToArray(ref UInt16[] Dst)

Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer type.

#NameTypeDescription
1DstUInt16[] (ref)

Result: stored in self (calling object), returns self for chaining

Remarks:

Values exceeding the range of a 2 byte unsigned integer type are clipped.

Indexed: TMtxVecInt CopyToArray(ref UInt16[] Dst, Int32 DstIndex, Int32 Index, Int32 Len)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstUInt16[] (ref)
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the Dst array is not changed. Values exceeding the range of a 2 byte unsigned integer type are clipped.