clVector::ThresholdGT_LT Method

Overload List

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

Overload 1: TOpenCLMtxVec *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: clVector::ThresholdLT, clVector::ThresholdGT
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

Perfrom "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::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

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

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

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

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 4: TOpenCLMtxVec *ThresholdGT_LT(TOpenCLMtxVec *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].

#NameTypeDescription
1VecTOpenCLMtxVec *
2GTLeveldouble
3GTValuedouble
4LTLeveldouble
5LTValuedouble
6VecIndexint
7Indexint
8Lenint
Remarks:

Store the results in the calling object elements [Index]..[Index+Len-1]. Size and clVector::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun/underrun. An exception will be raised if Vec object or the calling object contain complex numbers.

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler