TSparseMtx::ThresholdGT_LT Method

Overload List

#SignatureDescription
1TMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue);Threshold greater than and less than operation.
2TMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue, int Index, int Len);Perfrom "greater than and less than" threshold operation on the calling object values in range [Index]..[Index+Len-1].
3TMtxVec *ThresholdGT_LT(TMtxVec *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double LTValue);Perform "greater than and less than" threshold operation on all Vec object values.
4TMtxVec *ThresholdGT_LT(TMtxVec *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double 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: TMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue);

Threshold greater than and less than operation.

#NameTypeDescription
1GTLevelconst double
2GTValueconst double
3LTLevelconst double
4LTValueconst double
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 not Complex values.

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

Overload 2: TMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double 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 double
2GTValueconst double
3LTLevelconst double
4LTValueconst double
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::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

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

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

#NameTypeDescription
1VecTMtxVec *
2GTLevelconst double
3GTValueconst double
4LTLevelconst double
5LTValueconst double
Remarks:

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

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

Overload 4: TMtxVec *ThresholdGT_LT(TMtxVec *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double 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
1VecTMtxVec *
2GTLevelconst double
3GTValueconst double
4LTLevelconst double
5LTValueconst double
6VecIndexint
7Indexint
8Lenint
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. An exception will be raised if Vec object or the calling object contain complex numbers.

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