Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Rotate(int Offset, int Index, int Len = MtxVecEOA) const; | A cyclic shift on vector elements in range. |
| 2 | TMtxVec *Rotate(TMtxVec *Vec, int Offset, int VecIndex, int Index, int Len = MtxVecEOA) const; | A cyclic shift on vector elements in range. |
| 3 | TVec *Rotate(int Offset) const; | A cyclic shift on vector elements. |
| 4 | TVec *Rotate(TMtxVec *Src, int Offset) const; | Applies cyclic shift on Src vector elements and stores the result in Self. |
Overload 1: TMtxVec *Rotate(int Offset, int Index, int Len = MtxVecEOA) const;
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | int | |
| 2 | Index | int | |
| 3 | Len = MtxVecEOA | int |
Performs cyclic shift on vector 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.
Overload 2: TMtxVec *Rotate(TMtxVec *Vec, int Offset, int VecIndex, int Index, int Len = MtxVecEOA) const;
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Offset | int | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len = MtxVecEOA | int |
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.
Overload 3: TVec *Rotate(int Offset) const;
A cyclic shift on vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | int |
Performs cyclic shift on vector elements. The number of elements to shift is specified in the Offset parameter. Offset can be any integer number, positive or negative.
Overload 4: TVec *Rotate(TMtxVec *Src, int Offset) const;
Applies cyclic shift on Src vector elements and stores the result in Self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Offset | int |