TSparseMtx::ThreshAbsLT Method

Overload List

#SignatureDescription
1TMtxVec *ThreshAbsLT(const double Value);Threshold top and bottom centered around zero.
2TMtxVec *ThreshAbsLT(const double Value, int Index, int Len);Perfrom the threshold operation on calling object values [Index]..[Index+Len-1].
3TMtxVec *ThreshAbsLT(TMtxVec *Src, const double Value);Perform threshold operation on all Src object values.
4TMtxVec *ThreshAbsLT(TMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1].

Overload 1: TMtxVec *ThreshAbsLT(const double Value);

Threshold top and bottom centered around zero.

#NameTypeDescription
1Valueconst double
Remarks:

Perform threshold operation on all calling object values. The Value parameter is an upper bound for threshold operation. All values smaller than Value will be replaced with Value and all values bigger than -Value will be replaced with -Value. The comparison checks if abs(Values[i]) < Value.

See Also: TSparseMtx::ThreshTop
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *ThreshAbsLT(const double Value, int Index, int Len);

Perfrom the threshold operation on calling object values [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst double
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *ThreshAbsLT(TMtxVec *Src, const double Value);

Perform threshold operation on all Src object values.

#NameTypeDescription
1SrcTMtxVec *
2Valueconst double
Remarks:

Store the results in calling object. Size and TSparseMtx::Complex properties of the calling object are adjusted automatically.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *ThreshAbsLT(TMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);

Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTMtxVec *
2Valueconst double
3VecIndexint
4Indexint
5Lenint
Remarks:

Store the results in the calling object elements [Index]..[Index+Len-1]. Size and TSparseMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TSparseMtx::ConditionCheck is true and array borders are overrun/underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler