clValue::ThreshBottom Method

TOpenCLValue *ThreshBottom(TOpenCLValue *Src, double Value) const;

Threshold bottom operation.

#NameTypeDescription
1SrcTOpenCLValue *
2Valuedouble
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