Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLBase *Round(TOpenCLBase *Src, int SrcIndex, int Index, int Len); | |
| 2 | TOpenCLMtxVec *Round(); | Elements rounded to the nearest whole number. |
| 3 | TOpenCLMtxVec *Round(int Index, int Len); | Round calling object elements [Index]..[Index+Len-1] in-place. |
| 4 | TOpenCLMtxVec *Round(TOpenCLMtxVec *Src); | Round all Src object elements. |
| 5 | TOpenCLMtxVec *Round(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len); | Round Src object elements [SrcIndex]..[SrcIndex+Len-1]. |
Overload 1: TOpenCLBase *Round(TOpenCLBase *Src, int SrcIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLBase * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLMtxVec *Round();
Elements rounded to the nearest whole number.
Remarks:
Rounds all calling object elements to the nearest whole number. The result can be stored to an array of integers or as floating point number.
See Also: TOpenCLVector::Trunc, TOpenCLVector::Frac
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 3: TOpenCLMtxVec *Round(int Index, int Len);
Round calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Remarks:
An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 4: TOpenCLMtxVec *Round(TOpenCLMtxVec *Src);
Round all Src object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * |
Remarks:
Store the results in calling object elements. Size and TOpenCLBase::Complex property of calling object are adjusted automatically.
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler
Overload 5: TOpenCLMtxVec *Round(TOpenCLMtxVec *Src, int SrcIndex, int Index, int Len);
Round Src object elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Remarks:
Store the results to calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase::Complex property of the calling object must be set explicitly. An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler