TVecInt::ThresholdGT_LT Method

Overload List

#SignatureDescription
1TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);Threshold greater than and less than operation.
2TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue, int Index, int Len);Perfrom "greater than and less than" threshold operation on the calling object values in range [Index]..[Index+Len-1].
3TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);Perform "greater than and less than" threshold operation on all Vec object values.
4TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue, int VecIndex, int Index, int Len);Perform "greater than and less than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1].

Overload 1: TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);

Threshold greater than and less than operation.

#NameTypeDescription
1GTLevelconst int
2GTValueconst int
3LTLevelconst int
4LTValueconst int
Remarks:

Perform operation on all calling object values. The LTValue parameter is an lower bound for threshold operation. The GTValue parameter is an upper bound for threshold operation. All values less than LTLevel will be replaced with LTValue. All values bigger than GTLevel will be replaced with GTValue.

See Also: TVecInt::ThreshBottom, TVecInt::ThreshTop
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue, int Index, int Len);

Perfrom "greater than and less than" threshold operation on the calling object values in range [Index]..[Index+Len-1].

#NameTypeDescription
1GTLevelconst int
2GTValueconst int
3LTLevelconst int
4LTValueconst int
5Indexint
6Lenint
Remarks:

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

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 3: TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);

Perform "greater than and less than" threshold operation on all Vec object values.

#NameTypeDescription
1VecTMtxVecInt *
2GTLevelconst int
3GTValueconst int
4LTLevelconst int
5LTValueconst int
Remarks:

Store the results in calling object. Size of the calling object is adjusted automatically.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 4: TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue, int VecIndex, int Index, int Len);

Perform "greater than and less than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTMtxVecInt *
2GTLevelconst int
3GTValueconst int
4LTLevelconst int
5LTValueconst int
6VecIndexint
7Indexint
8Lenint
Remarks:

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

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler