clValue::ThresholdGT_LT Method

TOpenCLValue *ThresholdGT_LT(TOpenCLValue *Vec, double GTLevel, double GTValue, double LTLevel, double LTValue) const;

Threshold greater than and less than operation.

#NameTypeDescription
1VecTOpenCLValue *
2GTLeveldouble
3GTValuedouble
4LTLeveldouble
5LTValuedouble
Remarks:

Perform operation on Vec value. The LTValue parameter is an lower bound for threshold operation. The GTValue parameter is an upper bound for threshold operation. Values less than LTLevel will be replaced with LTValue. Value bigger than GTLevel will be replaced with GTValue. Operation is available only for none Complex values.

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