Overload List
Overload 1: TMtxVec *Copy(TMtxVec *Vec) const;
Copy object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Copy each of Vec elements to the calling object. Size and Matrix::Complex properties of the calling object are set implicitly to match Vec object.
Overload 2: TMtxVec *Copy(TMtxVec *Src, const TMtxFloatPrecision dstFloatPrecision) const;
Copy object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | dstFloatPrecision | const TMtxFloatPrecision |
Copy each of Src elements to the calling object. Size and Matrix::Complex properties of the calling object are set implicitly to match Src object.
Overload 3: TMtxVec *Copy(TMtxVec *Vec, int VecIndex, int Index, int Len) const;
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 Matrix::Complex properties must be set explicitly. An exception is raised if Matrix::ConditionCheck is True and array borders are overrun or underrun.
Overload 4: TMtx *Copy(TMtx *Mtx, int MtxRow, int MtxCol, int Row, int Col, int NrRows, int NrCols, bool Transpose = false) const;
Copy the Mtx elements [MtxRow,MtxCol]..[MtxRow+NrRows-1,MtxCol+NrCols-1] to the calling matrix elements [Row,Col],,[Row+NrRows-1,Col+NrCols-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtx * | |
| 2 | MtxRow | int | |
| 3 | MtxCol | int | |
| 4 | Row | int | |
| 5 | Col | int | |
| 6 | NrRows | int | |
| 7 | NrCols | int | |
| 8 | Transpose = false | bool |
An exception is raised if Matrix::ConditionCheck is true and bounds are overrun. If Transpose is true, the matrix is transposed as well. An exception is raised if Matrix::ConditionCheck is true and Complex properties of the calling matrix and Mtx do not match.
Overload 5: TMtxVec *Copy(TVecInt *Src, const TMtxFloatPrecision dstFloatPrecision) const;
Copy and convert values from TVecInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVecInt * | |
| 2 | dstFloatPrecision | const TMtxFloatPrecision |
Applies appropriate conversion and copy data from TVecInt. The size of the matrix must match the length of the vector or an exception will be raised.
Overload 6: TMtxVec *Copy(TVecInt *Src, int SrcIndex, int Index, int Len) const;
Copy and convert values from TVecInt at indexes [SrcIndex]...[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVecInt * | |
| 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 Matrix::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Overload 7: TMtxVec *Copy(TMtxInt *Src, const TMtxFloatPrecision dstFloatPrecision) const;
Copy and convert values from TVecInt.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxInt * | |
| 2 | dstFloatPrecision | const TMtxFloatPrecision |
Applies appropriate conversion and copy data from TVecInt. The size of the matrix must match the length of the vector or an exception will be raised.
Overload 8: TMtxVec *Copy(TMtxInt *Src, int SrcIndex, int Index, int Len) const;
Copy and convert values from TMtxInt at indexes [SrcIndex]...[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxInt * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Applies appropriate conversion and copy data from TMtxInt. The results are stored in calling object elements [Index]...[Index+Len-1]. Size and Matrix::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.