TOpenCLValue::ThresholdGT Method

Overload List

#SignatureDescription
1TOpenCLBase *ThresholdGT(TOpenCLBase *Vec, const double GTLevel, const double GTValue, int VecIndex, int Index, int Len);
2TOpenCLBase *ThresholdGT(TOpenCLBase *Vec, const double GTLevel, const TCplx &GTValue, int VecIndex, int Index, int Len);
3TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, double GTValue);Threshold greater than operation.
4TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, TCplx GTValue);Perform "greater than" threshold operation for complex value in Vec.

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

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

Overload 2: TOpenCLBase *ThresholdGT(TOpenCLBase *Vec, const double GTLevel, const TCplx &GTValue, int VecIndex, int Index, int Len);

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

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

Threshold greater than operation.

#NameTypeDescription
1VecTOpenCLValue *
2GTLeveldouble
3GTValuedouble
Remarks:

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

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

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

Perform "greater than" threshold operation for complex value in Vec.

#NameTypeDescription
1VecTOpenCLValue *
2GTLeveldouble
3GTValueTCplx
Remarks:

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

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler