Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *Reverse(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len); | Reverse vector elements. |
| 2 | TOpenCLMtxVec *Reverse(int Index, int Len); | Reverses the calling object elements [Index]..[Index+Len-1]. |
| 3 | TOpenCLVector *Reverse(TOpenCLMtxVec *Vec); | Reverse all Vec elements. |
| 4 | TOpenCLVector *Reverse(); |
Overload 1: TOpenCLMtxVec *Reverse(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);
Reverse vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 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: TOpenCLVector::Rotate, TOpenCLVector::Shift
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLMtxVec *Reverse(int Index, int Len);
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::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 3: TOpenCLVector *Reverse(TOpenCLMtxVec *Vec);
Reverse all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * |
Remarks:
Store the result in the calling vector elements. The TOpenCLBase::Length and TOpenCLBase::Complex roperties of the calling vector are set implicitly to match Vec vector.
This overload reverses all vector elements.
See Also: TOpenCLVector::Rotate, TOpenCLVector::Shift
Declared in Dew::Math::TOpenCLVector · Dew.Math/clMtxVec.h · Cross-compiler
Overload 4: TOpenCLVector *Reverse();
Declared in Dew::Math::TOpenCLVector · Dew.Math/clMtxVec.h · Cross-compiler