Matrix::Rotate Method

Overload List

#SignatureDescription
1TMtxVec *Rotate(int Offset, int Index, int Len = MtxVecEOA) const;A cyclic shift on Matrix elements in range.
2TMtxVec *Rotate(TMtxVec *Vec, int Offset, int VecIndex, int Index, int Len = MtxVecEOA) const;A cyclic shift on Matrix elements in range.

Overload 1: TMtxVec *Rotate(int Offset, int Index, int Len = MtxVecEOA) const;

A cyclic shift on Matrix elements in range.

#NameTypeDescription
1Offsetint
2Indexint
3Len = MtxVecEOAint
Remarks:

Performs cyclic shift on Matrix elements in specified range [Index..Index+Len]. The number of elements to shift is specified in the Offset parameter. Offset can be any integer number, positive or negative.

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

Overload 2: TMtxVec *Rotate(TMtxVec *Vec, int Offset, int VecIndex, int Index, int Len = MtxVecEOA) const;

A cyclic shift on Matrix elements in range.

#NameTypeDescription
1VecTMtxVec *
2Offsetint
3VecIndexint
4Indexint
5Len = MtxVecEOAint
Remarks:

Performs cyclic shift on source Matrix elements in specified range [Index..Index+Len] and stores them to calling Matrix. The number of elements to shift is specified in the Offset parameter. Offset can be any integer number, positive or negative.

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