Vector::ThresholdGT_LT Method

Overload List

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

Overload 1: TMtxVec *ThresholdGT_LT(double GTLevel, double GTValue, double LTLevel, double LTValue) const;

Threshold greater than and less than operation.

#NameTypeDescription
1GTLeveldouble
2GTValuedouble
3LTLeveldouble
4LTValuedouble
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. Operation is available only for none Complex values.

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

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

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

#NameTypeDescription
1GTLeveldouble
2GTValuedouble
3LTLeveldouble
4LTValuedouble
5Indexint
6Lenint
Remarks:

An exception is raised if array borders are overrun/underrun. An exception will be raised if the calling object contains complex numbers.

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

Overload 3: TMtxVec *ThresholdGT_LT(TMtxVec *Vec, double GTLevel, double GTValue, double LTLevel, double LTValue) const;

Perform "greater than and less than" threshold operation on all Vec object values and store the results in calling object.

#NameTypeDescription
1VecTMtxVec *
2GTLeveldouble
3GTValuedouble
4LTLeveldouble
5LTValuedouble
Remarks:

Size and Vector::Complex properties of the calling object are adjusted automatically. An exception will be raised if Vec object contains complex numbers.

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

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

Perform "greater than and less than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1VecTMtxVec *
2GTLeveldouble
3GTValuedouble
4LTLeveldouble
5LTValuedouble
6VecIndexint
7Indexint
8Lenint
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. An exception will be raised if Vec object or the calling object contain complex numbers.

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