TMtxSmallInt.Rotate90 Method

Overload List

#SignatureDescription
1TMtxInt Rotate90Rotates matrix Rows 90 degrees clockwise.
2TMtxInt Rotate90(TMtxInt Mtx)Rotate all Mtx matrix Rows 90deg clockwise.

Overload 1: TMtxInt 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.TMtxInt.Transp operation.

Examples
TMtx A;
TMtx B;
MtxVec.CreateIt(out A, out B);
A.SetIt(2,2,false,[1,3,
2,4]);
B.Rotate90(A);
MtxVec.FreeIt(ref A, ref B);

Overload 2: TMtxInt Rotate90(TMtxInt Mtx)

Rotate all Mtx matrix Rows 90deg clockwise.

#NameTypeDescription
1MtxTMtxIntsource TMtxInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the results in calling matrix. The Dew.Math.TMtxInt.Rows, Dew.Math.TMtxInt.Cols and Dew.Math.TMtxVecInt.IntPrecision properties of the calling matrix are adjusted automatically.