You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > TOpenCLMtxVec.Rotate Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Rotate Method

A cyclic shift on vector elements in range.

Pascal
function Rotate(const Vec: TOpenCLMtxVec; Offset: integer; VecIndex: integer; Index: integer; Len: integer): 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!