Vector::ThreshBottom Method

Overload List

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

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

Threshold bottom operation.

#NameTypeDescription
1Valuedouble
Remarks:

Perform threshold operation on all calling object values. The Value parameter is a lower bound for threshold operation. All values smaller than Value will be replaced with Value.

See Also: Vector::ThreshTop
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1Valuedouble
2Indexint
3Lenint
Remarks:

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

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

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

Perform threshold operation on all Src object values and store the results in calling object.

#NameTypeDescription
1SrcTMtxVec *
2Valuedouble
Remarks:

Size and Vector::Complex properties of the calling object are adjusted automatically.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

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

Perform a threshold operation on Vec elements [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1].

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

Size and Vector::Complex properties of the calling object must be set explicitly. An exception is raised if Vector::ConditionCheck is true and array borders are overrun/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler