MF_rotate90 MD_rotate90 ME_rotate90
MCF_rotate90 MCD_rotate90 MCE_rotate90
Functionclock-wise rotation of a matrix by 90°
Syntax C/C++#include <MFstd.h>
void MF_rotate90( fMatrix MRot, fMatrix MA, ui htRot, ui lenRot );
C++ MatObj#include <OptiVec.h>
void matrix<T>::rotate90( const matrix<T>& MA );
Pascal/Delphiuses MFstd;
procedure MF_rotate90( MRot, MA:fMatrix; htRot, lenRot:UIntSize );
DescriptionMRoti,j = MAlenRot-j-1, i
The dimensions fed into this function, htRot and lenRot, refer to the rotated matrix rather than to the input matrix.
See alsoMF_rotate180,   MF_rotate270   MF_transpose,   MF_Rows_rev   MF_Cols_rev   chapter 9,   chapter 5

MatrixLib Table of Contents  OptiVec home