Matrix::Rotate90 Method

Overload List

#SignatureDescription
1TMtx *Rotate90() const;Rotates matrix rows 90 degrees clockwise.
2TMtx *Rotate90(TMtx *Mtx) const;Rotate all Mtx matrix rows 90deg clockwise and store the results in calling matrix.

Overload 1: TMtx *Rotate90() const;

Rotates matrix rows 90 degrees clockwise.

Remarks:

Rotates all calling matrix rows 90 degrees clockwise in-place (check the scheme bellow).

Note
This operation differs from the Matrix::Transp operation.

See Also: Matrix::Transp
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtx *Rotate90(TMtx *Mtx) const;

Rotate all Mtx matrix rows 90deg clockwise and store the results in calling matrix.

#NameTypeDescription
1MtxTMtx *
Remarks:

The Matrix::Rows, Matrix::Cols and Matrix::Complex properties of the calling matrix are adjusted automatically.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler