MatrixInt::Copy Method

Overload List

#SignatureDescription
1TMtxVecInt *Copy(TMtxVecInt *Src) const;Copy object values.
2TMtxVecInt *Copy(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;Copy Src elements [SrcIndex]..[SrcIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].
3TMtxInt *Copy(TMtxInt *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].

Overload 1: TMtxVecInt *Copy(TMtxVecInt *Src) const;

Copy object values.

#NameTypeDescription
1SrcTMtxVecInt *
Remarks:

Copy each of Vec elements to the calling object. Size and precision properties of the calling object are set implicitly to match Vec object.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxVecInt *Copy(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;

Copy Src elements [SrcIndex]..[SrcIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenconst int
Remarks:

Calling vector MatrixInt::Size must be set explicitly. An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxInt *Copy(TMtxInt *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].

#NameTypeDescription
1MtxTMtxInt *
2MtxRowint
3MtxColint
4Rowint
5Colint
6NrRowsint
7NrColsint
8Transpose = falsebool
Remarks:

An exception is raised if TMtxVecBase::ConditionCheck is true and bounds are overrun. If Transpose is true, the matrix is transposed as well.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler