Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Copy(TMtxVec *Src); | Copy object values. |
| 2 | TMtxVec *Copy(TMtxVec *Src, const TMtxFloatPrecision dstFloatPrecision); | Copy object values. |
| 3 | TMtxVec *Copy(TMtxVec *Vec, int VecIndex, int Index, int Len); | Copy Vec elements [VecIndex]..[VecIndex+Len-1] in the calling object elements [Index]..[Index+Len-1]. |
| 4 | virtual TMtxVec *Copy(TMtxVecInt *Src, const TMtxFloatPrecision dstFloatPrecision); | Copy and convert values from TVecInt. |
| 5 | TMtxVec *Copy(TMtxVecInt *Src, int SrcIndex, int Index, int Len); | Copy and convert values from TVecInt at indexes [SrcIndex]...[SrcIndex+Len-1]. |
| 6 | void Copy(TMtxVec *Src, TMtxVec *Dst, const int SrcIdx, const int DstIdx, const int Len); | |
| 7 | void Copy(TSparseMtx *Src, bool StripZeros = false); | Copies sparse matrix from Src to the calling object. |
Overload 1: TMtxVec *Copy(TMtxVec *Src);
Copy object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * |
Copy each of Vec elements to the calling object. Size and TSparseMtx::Complex properties of the calling object are set implicitly to match Vec object.
Overload 2: TMtxVec *Copy(TMtxVec *Src, const TMtxFloatPrecision dstFloatPrecision);
Copy object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | dstFloatPrecision | const TMtxFloatPrecision |
Copy each of Vec elements to the calling object. Size and TSparseMtx::Complex properties of the calling object are set implicitly to match Vec object.
Overload 3: TMtxVec *Copy(TMtxVec *Vec, int VecIndex, int Index, int Len);
Copy Vec elements [VecIndex]..[VecIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Size and TSparseMtx::Complex properties must be set explicitly. An exception is raised if TSparseMtx::ConditionCheck is True and array borders are overrun or underrun.
Overload 4: virtual TMtxVec *Copy(TMtxVecInt *Src, const TMtxFloatPrecision dstFloatPrecision);
Copy and convert values from TVecInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | dstFloatPrecision | const TMtxFloatPrecision |
Applies appropriate conversion and copy data from TVecInt. The destinaton data format is determined with dstFloatPrecision.
Overload 5: TMtxVec *Copy(TMtxVecInt *Src, int SrcIndex, int Index, int Len);
Copy and convert values from TVecInt at indexes [SrcIndex]...[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Applies appropriate conversion and copy data from TVecInt. The results are stored in calling object elements [Index]...[Index+Len-1]. Size and TSparseMtx::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Overload 6: void Copy(TMtxVec *Src, TMtxVec *Dst, const int SrcIdx, const int DstIdx, const int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Dst | TMtxVec * | |
| 3 | SrcIdx | const int | |
| 4 | DstIdx | const int | |
| 5 | Len | const int |
Overload 7: void Copy(TSparseMtx *Src, bool StripZeros = false);
Copies sparse matrix from Src to the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TSparseMtx * | |
| 2 | StripZeros = false | bool |