Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLValue *ThresholdGT(TOpenCLValue *Vec, double GTLevel, double GTValue) const; | Threshold greater than operation. |
| 2 | TOpenCLValue *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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue * | |
| 2 | GTLevel | double | |
| 3 | GTValue | double |
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue * | |
| 2 | GTLevel | double | |
| 3 | GTValue | TCplx |
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