TMtxByte.CopyToArray Method

Overload List

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

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

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstByte[][] (ref)

Result: stored in self (calling object)

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

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstInt16[][] (ref)

Result: stored in self (calling object)

Overload 3: 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 4: TMtxVecInt CopyToArray(ref TCplx[] Dst)

Copies values from the calling object to the Dst array and converts data to complex 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/2 - 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 complex double precision floating point values. Consecutive elements become real and imaginary parts. Index and Len apply to the integer source array and DstIndex applies to the destination complex array.

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

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

#NameTypeDescription
1DstTSCplx[] (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 TSCplx[] 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/2 - 1].

#NameTypeDescription
1DstTSCplx[] (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 complex double precision floating point values. Consecutive elements become real and imaginary parts. Index and Len apply to the integer source array and DstIndex applies to the destination complex array.

Overload 6: 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 a 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. The method converts calling object values to 1 byte unsigned integers. Values exceeding the range of 1 byte unsigned integer type are clipped.

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

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

#NameTypeDescription
1DstInt16[] (ref)

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

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 2 byte signed 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. The method converts calling object values to 2 byte signed integers. Values exceeding the range of a 2 byte signed integer type are clipped.

Overload 8: 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 9: TMtxVecInt CopyToArray(ref UInt16[] Dst)

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

#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 integer 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. The method converts calling object values to 2 byte unsigned integers. Values exceeding the range of a 2 byte unsigned integer type are clipped.

Overload 10: TMtxVecBase CopyToArray(ref Double[] Dst)

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

#NameTypeDescription
1DstDouble[] (ref)

Returns: TMtxVecBase

Remarks:

If the calling object is complex, the size of the Dst array will be equal to 2*Dew.Math.TMtxVecBase.Length. If the calling object is not complex an exception will be raised.

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

Copy real or complex 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

Returns: TMtxVecBase

Remarks:

The size of the Dst array is not changed. If the calling object is complex, the Index and Len parameters define the number of complex elements.

Overload 11: TMtxVecBase CopyToArray(ref Single[] Dst)

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

#NameTypeDescription
1DstSingle[] (ref)

Returns: TMtxVecBase

Remarks:

Any values exceeding the range are clipped.

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

Copy real or complex 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

Returns: TMtxVecBase

Remarks:

The size of the Dst array is not changed. If the calling object is complex, the Index and Len parameters define the number of complex elements.