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