Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *Reverse(TMtxVecInt *Vec, const int VecIndex, const int Index, const int Len) const; | Reverse vector elements. |
| 2 | TMtxVecInt *Reverse(const int Index, const int Len) const; | Reverses the calling object elements [Index]..[Index+Len-1]. |
Overload 1: TMtxVecInt *Reverse(TMtxVecInt *Vec, const int VecIndex, const int Index, const int Len) const;
Reverse vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVecInt * | |
| 2 | VecIndex | const int | |
| 3 | Index | const int | |
| 4 | Len | const int |
Remarks:
The method reverses Vec vector elements from [VecIndex].. [VecIndex+Len-1] and stores them in the calling vector from [Index]...[Index+Len-1] by using the following equation:
This overload reverses calling vector elements in-place.
See Also: MatrixInt::Rotate, MatrixInt::Shift
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: TMtxVecInt *Reverse(const int Index, const int Len) const;
Reverses the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | const int | |
| 2 | Len | const int |
Remarks:
An exception is raised if array borders are overrun.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler