Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure CopyToArray(var Dst: T2DByteArray); | Copies all matrix values to a 2D array. |
| 2 | procedure CopyToArray(var Dst: T2DSmallIntArray); | Copies all matrix values to a 2D array. |
| 3 | procedure CopyToArray(var Dst: T2DIntegerArray); | Copies matrix values to a 2D array. |
| 4 | function CopyToArray(var Dst: TCplxArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts data to complex double precision numbers. |
| └ indexed: function CopyToArray(var Dst: TCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 5 | function CopyToArray(var Dst: TSCplxArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts data to complex double precision numbers. |
| └ indexed: function CopyToArray(var Dst: TSCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 6 | function CopyToArray(var Dst: TByteArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers. |
| └ indexed: function CopyToArray(var Dst: TByteArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 7 | function CopyToArray(var Dst: TSmallIntArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts values to to 2 byte signed integer numbers. |
| └ indexed: function CopyToArray(var Dst: TSmallIntArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 8 | function CopyToArray(var Dst: TIntegerArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers. |
| └ indexed: function CopyToArray(var Dst: TIntegerArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 9 | function CopyToArray(var Dst: TWordArray): TMtxVecInt; | Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer numbers. |
| └ indexed: function CopyToArray(var Dst: TWordArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | ||
| 10 | function CopyToArray(var Dst: TDoubleArray): TMtxVecBase; | Copy values to Dst array. The size of the array is set automatically. |
| └ indexed: function CopyToArray(var Dst: TDoubleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecBase; | ||
| 11 | function CopyToArray(var Dst: TSingleArray): TMtxVecBase; | Copies the calling object data to an array of single precision floating point data. |
| └ indexed: function CopyToArray(var Dst: TSingleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecBase; |
Overload 1: procedure CopyToArray(var Dst: T2DByteArray);
Copies all matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | T2DByteArray |
Result: stored in self (calling object)
Overload 2: procedure CopyToArray(var Dst: T2DSmallIntArray);
Copies all matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | T2DSmallIntArray |
Result: stored in self (calling object)
Overload 3: procedure CopyToArray(var Dst: T2DIntegerArray);
Copies matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | T2DIntegerArray |
Result: stored in self (calling object)
Copies all matrix values to a 2D array.
Overload 4: function CopyToArray(var Dst: TCplxArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts data to complex double precision numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TCplxArray |
Result: stored in self (calling object), returns self for chaining
Consecutive elements are converted to real and imaginary parts.
Indexed: function CopyToArray(var Dst: TCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TCplxArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TSCplxArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts data to complex double precision numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSCplxArray |
Result: stored in self (calling object), returns self for chaining
Consecutive elements are converted to real and imaginary parts.
Indexed: function CopyToArray(var Dst: TSCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSCplxArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TByteArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TByteArray |
Result: stored in self (calling object), returns self for chaining
Values exceeding the range of a 1 byte unsigned integer type are clipped.
Indexed: function CopyToArray(var Dst: TByteArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TByteArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TSmallIntArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts values to to 2 byte signed integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSmallIntArray |
Result: stored in self (calling object), returns self for chaining
Indexed: function CopyToArray(var Dst: TSmallIntArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy values from the calling object [Index]..[Index+len-1] to the Dst 2 byte signed integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSmallIntArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TIntegerArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TIntegerArray |
Result: stored in self (calling object), returns self for chaining
Indexed: function CopyToArray(var Dst: TIntegerArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TIntegerArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TWordArray): TMtxVecInt;
Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TWordArray |
Result: stored in self (calling object), returns self for chaining
Values exceeding the range of a 2 byte unsigned integer type are clipped.
Indexed: function CopyToArray(var Dst: TWordArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy integer values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TWordArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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: function CopyToArray(var Dst: TDoubleArray): TMtxVecBase;
Copy values to Dst array. The size of the array is set automatically.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TDoubleArray |
Returns: TMtxVecBase
If the calling object is complex, the size of the Dst array will be equal to 2*TMtxVecBase.Length. If the calling object is not complex an exception will be raised.
Indexed: function CopyToArray(var Dst: TDoubleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecBase;
Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TDoubleArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Returns: TMtxVecBase
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: function CopyToArray(var Dst: TSingleArray): TMtxVecBase;
Copies the calling object data to an array of single precision floating point data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSingleArray |
Returns: TMtxVecBase
Any values exceeding the range are clipped.
Indexed: function CopyToArray(var Dst: TSingleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVecBase;
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSingleArray | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Returns: TMtxVecBase
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.