TOpenCLValue::ThresholdGT_LT Method

Overload List

#SignatureDescription
1TOpenCLBase *ThresholdGT_LT(TOpenCLBase *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double LTValue, int VecIndex, int Index, int Len);
2TOpenCLValue *ThresholdGT_LT(TOpenCLValue *Vec, double GTLevel, double GTValue, double LTLevel, double LTValue);Threshold greater than and less than operation.

Overload 1: TOpenCLBase *ThresholdGT_LT(TOpenCLBase *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double LTValue, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2GTLevelconst double
3GTValueconst double
4LTLevelconst double
5LTValueconst double
6VecIndexint
7Indexint
8Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *ThresholdGT_LT(TOpenCLValue *Vec, double GTLevel, double GTValue, double LTLevel, double LTValue);

Threshold greater than and less than operation.

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

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

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