Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Reverse(TMtxVec *Vec, int VecIndex, int Index, int Len) const; | Reverse vector elements. |
| 2 | TMtxVec *Reverse(int Index, int Len) const; | Reverses the calling object elements [Index]..[Index+Len-1]. |
| 3 | TVec *Reverse() const; | Reverse vector elements. |
| 4 | TVec *Reverse(TMtxVec *Vec) const; | Reverse all Vec elements. |
Overload 1: TMtxVec *Reverse(TMtxVec *Vec, int VecIndex, int Index, int Len) const;
Reverse vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | 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: Vector::Rotate, Vector::Shift
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: TMtxVec *Reverse(int Index, int Len) const;
Reverses the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Remarks:
An exception is raised if array borders are overrun.
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 3: TVec *Reverse() const;
Reverse vector elements.
Remarks:
The method reverses vector elements by using the following equation:
This overload reverses all calling vector elements in-place.
See Also: Vector::Rotate, Vector::Shift
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 4: TVec *Reverse(TMtxVec *Vec) const;
Reverse all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Remarks:
Store the result in the calling vector elements. The Vector::Length and Vector::Complex properties of the calling vector are set implicitly to match Vec vector.
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler