You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > ThresholdLT Method > TMtxVec.ThresholdLT Method (double, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.ThresholdLT Method (double, double)

Threshold less than operation.

Pascal
function ThresholdLT(const LTLevel: double; const LTValue: double): TMtxVec; overload;

Perform operation on all calling object values. The LTValue parameter is a 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: TVec; begin CreateIt(a); try a.SetIt(True,[2,0.1,3,4]); a.ThresholdLT(2.3,1.5); // a = [1.5,1.5,3,4] finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!