clValue.ThresholdLT Method

Overload List

#SignatureDescription
1TOpenCLValue ThresholdLT(TOpenCLValue Vec, Double LTLevel, TCplx LTValue)Perform "less than" threshold operation for Vec object complex number.
2TOpenCLValue ThresholdLT(TOpenCLValue Vec, Double LTLevel, Double LTValue)Threshold less than operation.

Overload 1: TOpenCLValue ThresholdLT(TOpenCLValue Vec, Double LTLevel, TCplx LTValue)

Perform "less than" threshold operation for Vec object complex number.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2LTLevelDoublescalar
3LTValueTCplxscalar

Returns: TOpenCLValue

Remarks:

Stores the result in the calling object. FloatPrecision and Dew.Math.clValue.Complex properties of the calling object are adjusted automatically. If Vec.Complex is false, an exception will be raised.

Overload 2: TOpenCLValue ThresholdLT(TOpenCLValue Vec, Double LTLevel, Double LTValue)

Threshold less than operation.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2LTLevelDoublescalar
3LTValueDoublescalar

Returns: TOpenCLValue

Remarks:

Perform operation on Src object value. The LTValue parameter is an lower bound for threshold operation. Value less than LTLevel will be replaced with LTValue. For complex number comparison is applied with the norm of the complex value.

Examples
clValue a;
b.Copy(2));
a.ThresholdLT(b, 2.3,1.5); // a = new double[] {1.5}
See Also: clValue.ThresholdGT, clValue.ThresholdGT_LT