Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx Transp | Transposes matrix. |
| 2 | TMtx Transp(TMtx Mtx) | Transpose the Mtx matrix. |
Overload 1: TMtx 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 TMtx methods. If this operation can not be avoided try using the not-in-place version (see bellow) or see the Dew.Math.TMtx.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);
See Also: TMtx.Rotate90
Overload 2: TMtx Transp(TMtx Mtx)
Transpose the Mtx matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtx | source TMtx |
Result: stored in self (calling object), returns self for chaining
Remarks:
Write the results to the calling matrix. The Dew.Math.TMtx.Rows, Dew.Math.TMtx.Cols and Dew.Math.TMtxVec.Complex properties of the calling matrix are adjusted automatically.