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 );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_rotate90( fMatrix d_MRot, fMatrix d_MA, ui htRot, ui lenRot );
void MFcu_rotate90( fMatrix h_MRot, fMatrix h_MA, ui htRot, ui lenRot );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_rotate90( d_MRot, MA:fMatrix; htRot, lenRot:UIntSize ): IntBool;
procedure MFcu_rotate90( h_MRot, h_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