You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > clMatrix.Rotate Method
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.Rotate Method

A cyclic shift on vector elements in range.

Pascal
function Rotate(const Vec: TOpenCLMtxVec; Offset: integer; VecIndex: integer; Index: integer; Len: integer = MtxVecEOA): TOpenCLMtxVec; overload;

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!