Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx Transp | Transposes matrix. |
| 2 | TMtx Transp(TMtx Mtx) | Transpose the Mtx matrix and write the results to the calling 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 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.Matrix.Rotate90 method.
Examples
Matrix A;
A.Size(2,1,true); // 2x1 complex matrix
A.SetVal(Cplx(3,4));
A.Transp;
See Also: Matrix.Rotate90
Overload 2: TMtx Transp(TMtx Mtx)
Transpose the Mtx matrix and write the results to the calling matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtx | source TMtx |
Result: stored in self (calling object), returns self for chaining
Remarks:
The Dew.Math.Matrix.Rows, Dew.Math.Matrix.Cols and Dew.Math.Matrix.Complex properties of the calling matrix are adjusted automatically.