clValue::ThresholdGT Method

Overload List

#SignatureDescription
1TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, double GTValue) const;Threshold greater than operation.
2TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, TCplx GTValue) const;Perform "greater than" threshold operation vor complex number stored in Vec object.

Overload 1: TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, double GTValue) const;

Threshold greater than operation.

#NameTypeDescription
1VecTOpenCLValue *
2GTLeveldouble
3GTValuedouble
Remarks:

Perform operation on Vec object value. The GTValue parameter is an upper bound for threshold operation. Value bigger than LTLevel will be replaced with GTValue. For a complex number the comparison is applied with the norm of the complex value.

See Also: clValue::ThresholdLT, clValue::ThresholdGT_LT
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, TCplx GTValue) const;

Perform "greater than" threshold operation vor complex number stored in Vec object.

#NameTypeDescription
1VecTOpenCLValue *
2GTLeveldouble
3GTValueTCplx
Remarks:

Store the result in the calling object. FloatPrecision and clValue::Complex properties of the calling object are adjusted automatically. If Vec object value is not Complex, an exception will be raised.

Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler