You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Transp Method > Matrix.Transp Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Transp Method ()

Transposes matrix.

Pascal
function Transp: TMtx; overload;

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

var A: Matrix; begin A.Size(2,1,True); // 2x1 complex matrix A.SetVal(Cplx(3,4)); A.Transp; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!