VectorInt::GetCol Method

Overload List

#SignatureDescription
1TVecInt *GetCol(TMtxInt *Mtx, int Col) const;Copies a column from matrix.
2TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Index, int Len) const;Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector elements [Index]..[Index+Len-1].
3TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Len) const;Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector.

Overload 1: TVecInt *GetCol(TMtxInt *Mtx, int Col) const;

Copies a column from matrix.

#NameTypeDescription
1MtxTMtxInt *
2Colint
Remarks:

Copies the Col-th column from Mtx matrix to calling vector. The TMtxVecBase::Length and TMtxVecInt::IntPrecision properties of calling vector are adjusted automatically. An exception is raised if condition checking is enabled and Col is greater than Mtx.Cols-1.

See Also: VectorInt::GetRow, TMtx::SetCol
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Index, int Len) const;

Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector elements [Index]..[Index+Len-1].

#NameTypeDescription
1MtxTMtxInt *
2Rowint
3Colint
4Indexint
5Lenint
Remarks:

The TMtxVecInt::IntPrecision property of calling vector must be set explicitly. An exception is raised if condition checking is enabled and column array borders are overrun.

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

Overload 3: TVecInt *GetCol(TMtxInt *Mtx, int Row, int Col, int Len) const;

Copy the Col-th column elements [Row]..[Row+Len-1] to calling vector.

#NameTypeDescription
1MtxTMtxInt *
2Rowint
3Colint
4Lenint
Remarks:

The TMtxVecBase::Length and TMtxVecInt::IntPrecision properties of calling vector are adjusted automatically. An exception is raised if condition checking is enabled and column array borders are overrun.

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