Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ThresholdGT(const Vec: TOpenCLValue; GTLevel: Double; GTValue: TCplx): TOpenCLValue; | Perform "greater than" threshold operation vor complex number stored in Vec object. |
| 2 | function ThresholdGT(const Vec: TOpenCLValue; GTLevel: Double; GTValue: Double): TOpenCLValue; | Threshold greater than operation. |
Overload 1: function ThresholdGT(const Vec: TOpenCLValue; GTLevel: Double; GTValue: TCplx): TOpenCLValue;
Perform "greater than" threshold operation vor complex number stored in Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | TCplx | scalar |
Returns: TOpenCLValue
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.
Overload 2: function ThresholdGT(const Vec: TOpenCLValue; GTLevel: Double; GTValue: Double): TOpenCLValue;
Threshold greater than operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | Double | scalar |
Returns: TOpenCLValue
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.
Examples
var a: clValue;
begin
b.Copy(2);
a.ThresholdGT(b, 1.3,1.5); // a = [1.5]
end;
See Also: clValue.ThresholdLT, clValue.ThresholdGT_LT