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 | function CopyToArray(var Dst: TSCplxArray): TMtxVec; | Copy values to an array. |
| └ indexed: function CopyToArray(var Dst: TSCplxArray; DstIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 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: 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; | ||
| 5 | 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; | ||
| 6 | 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; | ||
| 7 | 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: 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: function CopyToArray(var Dst: TSCplxArray): TMtxVec;
Copy values to an array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSCplxArray |
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: TSCplxArray; 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 | 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.
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: 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 5: 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 6: 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 7: 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.