Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Rotate90: TMtxInt; | Rotates matrix Rows 90 degrees clockwise. |
| 2 | function Rotate90(const Mtx: TMtxInt): TMtxInt; | Rotate all Mtx matrix Rows 90deg clockwise. |
Overload 1: function Rotate90: TMtxInt;
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 TMtxInt.Transp operation.
Examples
var A,B: TMtx;
begin
CreateIt(A,B);
A.SetIt(2,2,False,[1,3,
2,4]);
B.Rotate90(A);
FreeIt(A,B);
end;
Overload 2: function Rotate90(const Mtx: TMtxInt): TMtxInt;
Rotate all Mtx matrix Rows 90deg clockwise.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt | source TMtxInt |
Result: stored in self (calling object), returns self for chaining
Remarks:
Store the results in calling matrix. The TMtxInt.Rows, TMtxInt.Cols and TMtxVecInt.IntPrecision properties of the calling matrix are adjusted automatically.