Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function CopyToArray(var Dst: TCplxArray): TMtxVec; | Copy values to an array. |
| └ indexed: function CopyToArray(var Dst: TCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 2 | procedure CopyToArray(var Dst: T2DCplxArray); | Copies all matrix values to a 2D array. |
| 3 | function CopyToArray(var Dst: TByteArray; Rounding: TRounding): TMtxVec; | Copies values from the calling object to the Dst array and converts floating point data to 1 byte unsigned integer numbers. |
| └ indexed: function CopyToArray(var Dst: TByteArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 4 | function CopyToArray(var Dst: TDoubleArray): TMtxVec; | Copy values to Dst array. |
| └ indexed: function CopyToArray(var Dst: TDoubleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 5 | procedure CopyToArray(var Dst: T2DDoubleArray); | Copies matrix values to a 2D array. |
| 6 | function CopyToArray(var Dst: TSmallIntArray; Rounding: TRounding): TMtxVec; | Copies values from the calling object to the Dst array and converts floating point data to 2 byte signed integer numbers. |
| └ indexed: function CopyToArray(var Dst: TSmallIntArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 7 | function CopyToArray(var Dst: TIntegerArray; Rounding: TRounding): TMtxVec; | Copies values from the calling object to the Dst array and converts floating point data to integer numbers. |
| └ indexed: function CopyToArray(var Dst: TIntegerArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 8 | function CopyToArray(var Dst: TSingleArray): TMtxVec; | 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): TMtxVec; |
Overload 1: function CopyToArray(var Dst: TCplxArray): TMtxVec;
Copy values to an array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TCplxArray |
Result: stored in self (calling object), returns self for chaining
Copy complex values to Dst array. The size of the array is set automatically. If the calling object is not complex an exception will be raised.
Indexed: function CopyToArray(var Dst: TCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
Copy 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 | 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.
Overload 2: procedure CopyToArray(var Dst: T2DCplxArray);
Copies all matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | T2DCplxArray |
Result: stored in self (calling object)
Overload 3: function CopyToArray(var Dst: TByteArray; Rounding: TRounding): TMtxVec;
Copies values from the calling object to the Dst array and converts floating point data to 1 byte unsigned integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TByteArray | |
| 2 | Rounding | TRounding |
Result: stored in self (calling object), returns self for chaining
The rounding method used is specified with the Rounding parameter.
Indexed: function CopyToArray(var Dst: TByteArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
Copy real or complex 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 | Rounding | TRounding | |
| 3 | DstIndex | Integer | destination start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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. The method converts floating point values to integers. Values exceeding the range of 1 byte unsigned integer type are clipped.
Overload 4: function CopyToArray(var Dst: TDoubleArray): TMtxVec;
Copy values to Dst array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TDoubleArray |
Result: stored in self (calling object), returns self for chaining
The size of the array is set automatically. If the calling object is complex, the size of the Dst array will be equal to 2*Matrix.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): TMtxVec;
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 |
Result: stored in self (calling object), returns self for chaining
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 5: procedure CopyToArray(var Dst: T2DDoubleArray);
Copies matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | T2DDoubleArray |
Result: stored in self (calling object)
Copies all matrix values to a 2D array. The rows of the array will have two times as many columns, if the calling matrix object is Complex.
Overload 6: function CopyToArray(var Dst: TSmallIntArray; Rounding: TRounding): TMtxVec;
Copies values from the calling object to the Dst array and converts floating point data to 2 byte signed integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSmallIntArray | |
| 2 | Rounding | TRounding |
Result: stored in self (calling object), returns self for chaining
The rounding method used is specified with the Rounding parameter.
Indexed: function CopyToArray(var Dst: TSmallIntArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
Copy real or complex 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 | TSmallIntArray | |
| 2 | Rounding | TRounding | |
| 3 | DstIndex | Integer | destination start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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. The method converts floating point values to integers. Values exceeding the range of a 2 byte signed integer type are clipped.
Overload 7: function CopyToArray(var Dst: TIntegerArray; Rounding: TRounding): TMtxVec;
Copies values from the calling object to the Dst array and converts floating point data to integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TIntegerArray | |
| 2 | Rounding | TRounding |
Result: stored in self (calling object), returns self for chaining
The rounding method used is specified with the Rounding parameter.
Indexed: function CopyToArray(var Dst: TIntegerArray; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
Copy real or complex 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 | Rounding | TRounding | |
| 3 | DstIndex | Integer | destination start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
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. The method converts floating point values to integer. Values exceeding the range of the integer type are clipped.
Overload 8: function CopyToArray(var Dst: TSingleArray): TMtxVec;
Copies the calling object data to an array of single precision floating point data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSingleArray |
Result: stored in self (calling object), returns self for chaining
Any values exceeding the range are clipped.
Indexed: function CopyToArray(var Dst: TSingleArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
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 |
Result: stored in self (calling object), returns self for chaining
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.