Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *Rotate(const int Offset, const int Index, const int Len) const; | A cyclic shift on vector elements in range. |
| 2 | TMtxInt *Rotate(TMtxVecInt *Src, const int Offset, const int SrcIndex, const int Index, const int Len) const; | A cyclic shift on vector elements in range. |
Overload 1: TMtxInt *Rotate(const int Offset, const int Index, const int Len) const;
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Offset | const int | |
| 2 | Index | const int | |
| 3 | Len | const 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::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: TMtxInt *Rotate(TMtxVecInt *Src, const int Offset, const int SrcIndex, const int Index, const int Len) const;
A cyclic shift on vector elements in range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Offset | const int | |
| 3 | SrcIndex | const int | |
| 4 | Index | const int | |
| 5 | Len | const 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: MatrixInt::Shift
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler