TOpenCLValue.SgnMul Method

TOpenCLValue SgnMul(TOpenCLValue Src)

Signum.

#NameTypeDescription
1SrcTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

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 Dew.Math.TOpenCLBase.Complex property of calling object are adjusted automatically.