You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > Rotate Method > TMtxVecInt.Rotate Method (int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.Rotate Method (int, int, int)

A cyclic shift on vector elements in range.

Syntax
C#
Visual Basic
public TMtxVecInt Rotate(int Offset, int Index, int Len);

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

An exception is raised if array borders are overrun/underrun.

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