Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure CopyTo(const Dst: TMtxVec); | Copy and if needed convert values to Dst. |
| └ indexed: procedure CopyTo(const Dst: TMtxVec; const DstIndex: Integer; const Index: Integer; Len: Integer); | ||
| 2 | procedure CopyTo(const Dst: TMtxVec; const dstFloatPrecision: TMtxFloatPrecision); | Copy and convert values to specified dstFloatPrecision. |
| 3 | procedure CopyTo(const Dst: TVecInt; Rounding: TRounding); | Copy and convert values to TVecInt. |
| └ indexed: procedure CopyTo(const Dst: TVecInt; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer); |
Overload 1: procedure CopyTo(const Dst: TMtxVec);
Copy and if needed convert values to Dst.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec |
Result: stored in self (calling object)
Existing value of Dst.FloatPrecision is preserved.
Indexed: procedure CopyTo(const Dst: TMtxVec; const DstIndex: Integer; const Index: Integer; Len: Integer);
Copy and convert values to Dst.FloatPrecision at indexes [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | |
| 2 | DstIndex | Integer | destination start index |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object)
Applies appropriate conversion and copy data from the calling object. The results are stored in Dst object elements [Index]...[Index+Len-1]. Size and TMtxVec.FloatPrecision properties of the destination object must be set explicitly. An exception is raised if array borders are overrun.
Overload 2: procedure CopyTo(const Dst: TMtxVec; const dstFloatPrecision: TMtxFloatPrecision);
Copy and convert values to specified dstFloatPrecision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | |
| 2 | dstFloatPrecision | TMtxFloatPrecision |
Result: stored in self (calling object)
Dst will be sized to hold all calling object data in specified dstFloatPrecision. The single/double and Complex/Not Complex conversion cant be handled concurrently.
Overload 3: procedure CopyTo(const Dst: TVecInt; Rounding: TRounding);
Copy and convert values to TVecInt.
Result: stored in self (calling object)
Applies appropriate conversion and copy data to TVecInt. The value IntPrecision is preserved.
Indexed: procedure CopyTo(const Dst: TVecInt; Rounding: TRounding; DstIndex: Integer; Index: Integer; Len: Integer);
Copy and convert values to TVecInt at indexes [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVecInt | |
| 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)
Applies appropriate conversion and copy data from TVecInt. The results are stored in calling object elements [Index]...[Index+Len-1]. Size and TMtxVecInt.IntPrecision properties of the destination object must be set explicitly. An exception is raised if array borders are overrun.