Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLBase *SgnMul(TOpenCLBase *Src); | |
| 2 | TOpenCLMtxVec *SgnMul(TOpenCLMtxVec *Src); | Signum. |
Overload 1: TOpenCLBase *SgnMul(TOpenCLBase *Src);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLBase * |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLMtxVec *SgnMul(TOpenCLMtxVec *Src);
Signum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec * |
Remarks:
Calculates the signum of all Src object elements and multiplies it with the calling object elements accordingly. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0. The length of Src and of the calling object must match or an exception will be raised. Size and TOpenCLBase::Complex property of calling object are adjusted automatically.
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler