Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx Rotate90 | Rotates matrix rows 90 degrees clockwise. |
| 2 | TMtx Rotate90(TMtx Mtx) | Rotate all Mtx matrix rows 90deg clockwise and store the results in calling matrix. |
Overload 1: TMtx Rotate90
Rotates matrix rows 90 degrees clockwise.
Result: stored in self (calling object), returns self for chaining
Remarks:
Rotates all calling matrix rows 90 degrees clockwise in-place (check the scheme bellow).
Note
This operation differs from the Dew.Math.Matrix.Transp operation.
Examples
Matrix A;
Matrix B;
A.SetIt(2,2,false,[1,3,
2,4]);
B.Rotate90(A);
See Also: Matrix.Transp
Overload 2: TMtx Rotate90(TMtx Mtx)
Rotate all Mtx matrix rows 90deg clockwise and store the results in 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.