Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *Rotate(int Offset, int Index, int Len); | A cyclic shift on vector elements in range. |
| 2 | TMtxVecInt *Rotate(TMtxVecInt *Src, int Offset, int SrcIndex, int Index, int Len); | A cyclic shift on vector elements in range. |
Overload 1: TMtxVecInt *Rotate(int Offset, int Index, int Len);
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | int | |
| 2 | Index | int | |
| 3 | Len | int |
Remarks:
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.
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 2: TMtxVecInt *Rotate(TMtxVecInt *Src, int Offset, int SrcIndex, int Index, int Len);
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Offset | int | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Remarks:
Performs cyclic shift on source vector elements in specified range [SrcIndex .. SrcIndex+Len-1] and stores them to calling vector elements [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.
See Also: TMtxInt::Shift
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler