TOpenCLValue ThreshBottom(TOpenCLValue Src, Double Value)
Threshold bottom operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLValue | source TOpenCLValue |
| 2 | Value | Double | scalar |
Returns: TOpenCLValue
Remarks:
Perform threshold operation on Src object value. The Value parameter is a lower bound for threshold operation. A value smaller than Value will be replaced with Value and stored in to the calling object.
Examples
clValue a;
clValue b;
b.Copy(0.1);
a.ThreshBottom(b, 0.2); // a = new double[] {0.2}
See Also: clValue.ThreshTop