clValue.SgnMul Method

TOpenCLValue SgnMul(TOpenCLValue Src)

Signum.

#NameTypeDescription
1SrcTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculates the signum of Src object value and multiplies it with the calling object value. Signum(const 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 Dew.Math.clValue.Complex property of calling object are adjusted automatically.