TMtx::RowPermute Method

TMtx *RowPermute(TMtx *Src, TVecInt *PermuteIdx);

Permute the rows of the Src matrix.

#NameTypeDescription
1SrcTMtx *
2PermuteIdxTVecInt *
Remarks:

The parameter PermuteIdx contains indexes of columns P[i] to which column at Index "i" is to be moved. The result of the permutation is stored in the calling matrix. Only entire matrix can be copied.

See Also: TMtx::RowExchange, TMtx::ColPermute
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler