TOpenCLValue *ThreshBottom(TOpenCLValue *Src, double Value) const;
Threshold bottom operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLValue * | |
| 2 | Value | double |
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
#include "clMtxExpr.h"
using namespace Dew;
using namespace Dew::Math;
void Example()
{
clValue a, b;
b.Copy(0.1);
a.ThreshBottom(b, 0.2); // a = [0.2]
}
See Also: clValue::ThreshTop
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler