TMtxByte.Transp Method

Overload List

#SignatureDescription
1TMtxInt TranspTransposes matrix.
2TMtxInt Transp(TMtxInt Mtx)Transpose the Mtx matrix.

Overload 1: TMtxInt Transp

Transposes matrix.

Result: stored in self (calling object), returns self for chaining

Remarks:

Transposes calling matrix in-place. Instead of using transpose directly, try using the Dew.Math.TMtxOperation parameter of many TMtxInt methods. If this operation can not be avoided try using the not-in-place version (see bellow) or see the Dew.Math.TMtxInt.Rotate90 method.

Examples
TMtx A;
MtxVec.CreateIt(out A);
A.Size(2,1,true); // 2x1 complex matrix
A.SetVal(Cplx(3,4));
A.Transp;
MtxVec.FreeIt(ref A);

Overload 2: TMtxInt Transp(TMtxInt Mtx)

Transpose the Mtx matrix.

#NameTypeDescription
1MtxTMtxIntsource TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Write the results to the calling matrix. The Dew.Math.TMtxInt.Rows, Dew.Math.TMtxInt.Cols and Dew.Math.TMtxVecInt.IntPrecision properties of the calling matrix are adjusted automatically.