MatrixInt.Transp Method

Overload List

#SignatureDescription
1function Transp: TMtxInt;Transposes matrix.
2function Transp(const Mtx: TMtxInt): TMtxInt;Transpose the Mtx matrix.

Overload 1: function Transp: TMtxInt;

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 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 MatrixInt.Rotate90 method.

Examples
var  A: TMtxInt;
begin
    CreateIt(A);
    A.Size(2,1,True); // 2x1 complex matrix
    A.SetVal(Cplx(3,4));
    A.Transp;
    FreeIt(A);
end;
See Also: MatrixInt.Rotate90

Overload 2: function Transp(const Mtx: TMtxInt): TMtxInt;

Transpose the Mtx matrix.

#NameTypeDescription
1MtxTMtxInt

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

Remarks:

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