TOpenCLMatrix::Rotate Method

TOpenCLMtxVec *Rotate(TOpenCLMtxVec *Vec, int Offset, int VecIndex, int Index, int Len);

A cyclic shift on vector elements in range.

#NameTypeDescription
1VecTOpenCLMtxVec *
2Offsetint
3VecIndexint
4Indexint
5Lenint
Remarks:

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

See Also: TOpenCLMatrix::Reverse, TOpenCLMatrix::Shift
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler