Dew MtxVec NET
TMtx.Rotate90 Methods
Summary
Rotates matrix rows 90 degrees clockwise.

Class
TMtx

Declaration
Function Rotate90(Mtx: TMtx): TMtx;

Description
Rotate all Mtx matrix rows 90deg clockwise and store the results in calling matrix. The Rows, Cols and Complex properties of the calling matrix are adjusted automatically.
Declaration
Function Rotate90: TMtx;

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

NOTE: This operation differs from the Transp operation.

 See Also 
Transp 

Example 1

var A,B: TMtx; begin CreateIt(A,B); A.SetIt(2,2,False,[1,3, 2,4]); B.Rotate90(A); FreeIt(A,B); end;

Copyright 2008 Dew Research
http://www.dewresearch.com