Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *Abs() const; | Absolute values. |
| 2 | TOpenCLMtxVec *Abs(int Index, int Len) const; | Calculate the absolute value for calling object elements [Index]..[Index+Len-1]. |
| 3 | TOpenCLMtxVec *Abs(TOpenCLMtxVec *X) const; | Calculate the absolute value for all X object and store the results in the calling object. |
| 4 | TOpenCLMtxVec *Abs(TOpenCLMtxVec *X, int XIndex, int Index, int Len) const; | Calculate the absolute value of X object elements [XIndex]..[XIndex+Len-1]. |
Overload 1: TOpenCLMtxVec *Abs() const;
Absolute values.
Remarks:
Calculate the absolute value of all calling object elemets in-place.
See Also: clVector::Mag
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLMtxVec *Abs(int Index, int Len) const;
Calculate the absolute value for 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 or underrun.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 3: TOpenCLMtxVec *Abs(TOpenCLMtxVec *X) const;
Calculate the absolute value for all X object and store the results in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMtxVec * |
Remarks:
Size and clVector::Complex properties of calling object are adjusted automatically.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 4: TOpenCLMtxVec *Abs(TOpenCLMtxVec *X, int XIndex, int Index, int Len) const;
Calculate the absolute value of X object elements [XIndex]..[XIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMtxVec * | |
| 2 | XIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Remarks:
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler