TOpenCLValue::SgnMul Method

Overload List

#SignatureDescription
1TOpenCLBase *SgnMul(TOpenCLBase *Src);
2TOpenCLValue *SgnMul(TOpenCLValue *Src);Signum.

Overload 1: TOpenCLBase *SgnMul(TOpenCLBase *Src);

#NameTypeDescription
1SrcTOpenCLBase *
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *SgnMul(TOpenCLValue *Src);

Signum.

#NameTypeDescription
1SrcTOpenCLValue *
Remarks:

Calculates the signum of Src and multiplies it with the calling object value. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0. FloatPrecision and TOpenCLBase::Complex property of calling object are adjusted automatically.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler