TVecSmallInt::GetRow Method

Overload List

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

Overload 1: TVecInt *GetRow(TMtxInt *Mtx, int Row);

Copies a row from matrix.

#NameTypeDescription
1MtxTMtxInt *
2Rowint
Remarks:

Copies the Row-th row from Mtx matrix to calling vector. The TVecSmallInt::Length and TVecSmallInt::IntPrecision properties of calling vector are adjusted automatically. An exception is raised if condition checking is enabled and Row is greater than Mtx.Rows-1.

See Also: TVecSmallInt::GetCol, TMtx::SetRow
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler

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

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

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

The TVecSmallInt::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::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler

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

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

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

The TVecSmallInt::Length and TVecSmallInt::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::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler