MatrixInt::ColPermute Method

TMtxInt *ColPermute(TMtxInt *Src, TVecInt *PermuteIdx) const;

Permute the columns of the Src matrix.

#NameTypeDescription
1SrcTMtxInt *
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: MatrixInt::RowExchange, MatrixInt::RowPermute
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler