Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure CopyTo(const Dst: TSparseMtx; const aFloatPrecision: TMtxFloatPrecision); overload; | Copies sparse matrix from Src to the calling object. |
| 2 | procedure CopyTo(const Dst: TMtxVec); overload; | Copy and if needed convert values to Dst, but keep Dst.FloatPrecision. |
| └ indexed: procedure CopyTo(const Dst: TMtxVec; const DstIndex, Index: integer; Len: integer); overload; | ||
| 3 | procedure CopyTo(const Dst: TMtxVec; const dstFloatPrecision: TMtxFloatPrecision); overload; | Copy and convert values to specified dstFloatPrecision. |
| 4 | procedure CopyTo(const Dst: TMtxVecInt; const Rounding: TRounding); overload; | Copy and convert values to TVecInt. |
| └ indexed: procedure CopyTo(const Dst: TMtxVecInt; const Rounding: TRounding; DstIndex, Index, Len: integer); overload; |
Overload 1: procedure CopyTo(const Dst: TSparseMtx; const aFloatPrecision: TMtxFloatPrecision); overload;
Copies sparse matrix from Src to the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TSparseMtx | |
| 2 | aFloatPrecision | TMtxFloatPrecision |
Result: stored in self (calling object)
Overload 2: procedure CopyTo(const Dst: TMtxVec); overload;
Copy and if needed convert values to Dst, but keep Dst.FloatPrecision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object)
Indexed: procedure CopyTo(const Dst: TMtxVec; const DstIndex, Index: integer; Len: integer); overload;
Copy and convert values to Dst.FloatPrecision at indexes [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
| 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 Src. 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 3: procedure CopyTo(const Dst: TMtxVec; const dstFloatPrecision: TMtxFloatPrecision); overload;
Copy and convert values to specified dstFloatPrecision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
| 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 4: procedure CopyTo(const Dst: TMtxVecInt; const Rounding: TRounding); overload;
Copy and convert values to TVecInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Rounding | TRounding |
Result: stored in self (calling object)
Applies appropriate conversion and copy data to TVecInt. The value TVecInt.IntPrecision is preserved.
Indexed: procedure CopyTo(const Dst: TMtxVecInt; const Rounding: TRounding; DstIndex, Index, Len: integer); overload;
Copy and convert values to TVecInt at indexes [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt | source TVecInt or TMtxInt |
| 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 to Dst 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.