VectorInt::ThreshBottom Method

Overload List

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

Overload 1: TMtxVecInt *ThreshBottom(const int Value) const;

Threshold bottom operation.

#NameTypeDescription
1Valueconst int
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: VectorInt::ThreshTop
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

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

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

#NameTypeDescription
1Valueconst int
2Indexint
3Lenint
Remarks:

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

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxVecInt *ThreshBottom(TMtxVecInt *Src, const int Value) const;

Perform threshold operation on all Src object values.

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
Remarks:

Store the results in calling object. Size and VectorInt::IntPrecision properties of the calling object are adjusted automatically.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

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

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

#NameTypeDescription
1VecTMtxVecInt *
2Valueconst int
3VecIndexint
4Indexint
5Lenint
Remarks:

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

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler