You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > ThresholdLT Method > clMatrix.ThresholdLT Method (double, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.ThresholdLT Method (double, double)

Threshold less than operation.

Syntax
C#
Visual Basic
public TOpenCLMtxVec ThresholdLT(double LTLevel, double LTValue);

Perform operation on all calling object values. The LTValue parameter is an lower bound for threshold operation. All values less than LTLevel will be replaced with LTValue. For complex number comparation is applied with norm of complex value.

var a: clMatrix; begin a.CopyFromArray(2,2,TSingleArray.Create(2,0.1,3,4)); a.ThresholdLT(2.3,1.5); // a = [1.5,1.5,3,4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!