Vector::GetRow Method

Overload List

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

Overload 1: TVec *GetRow(TMtx *Mtx, int aRow) const;

Copies a row from matrix.

#NameTypeDescription
1MtxTMtx *
2aRowint
Remarks:

Copies the Row-th row from Mtx matrix to calling vector. The Vector::Length and Vector::Complex 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: Vector::GetCol, Matrix::SetRow
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TVec *GetRow(TMtx *Mtx, int aRow, int aCol, int Index, int Len) const;

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

#NameTypeDescription
1MtxTMtx *
2aRowint
3aColint
4Indexint
5Lenint
Remarks:

The Vector::Complex 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::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: TVec *GetRow(TMtx *Mtx, int aRow, int aCol, int Len) const;

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

#NameTypeDescription
1MtxTMtx *
2aRowint
3aColint
4Lenint
Remarks:

The Vector::Length and Vector::Complex 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::Vector · Dew.Math/MtxExpr.h · Cross-compiler