TOpenCLMatrix::ThresholdGT_LT Method

Overload List

#SignatureDescription
1TOpenCLBase *ThresholdGT_LT(TOpenCLBase *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double LTValue, int VecIndex, int Index, int Len);
2TOpenCLMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue);Threshold greater than and less than operation.
3TOpenCLMtxVec *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].
4TOpenCLMtxVec *ThresholdGT_LT(TOpenCLMtxVec *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.
5TOpenCLMtxVec *ThresholdGT_LT(TOpenCLMtxVec *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: TOpenCLBase *ThresholdGT_LT(TOpenCLBase *Vec, const double GTLevel, const double GTValue, const double LTLevel, const double LTValue, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2GTLevelconst double
3GTValueconst double
4LTLevelconst double
5LTValueconst double
6VecIndexint
7Indexint
8Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLMtxVec *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 none Complex values.

See Also: TOpenCLMatrix::ThresholdLT, TOpenCLMatrix::ThresholdGT
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLMtxVec *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::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 4: TOpenCLMtxVec *ThresholdGT_LT(TOpenCLMtxVec *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
1VecTOpenCLMtxVec *
2GTLevelconst double
3GTValueconst double
4LTLevelconst double
5LTValueconst double
Remarks:

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

Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 5: TOpenCLMtxVec *ThresholdGT_LT(TOpenCLMtxVec *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
1VecTOpenCLMtxVec *
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 TOpenCLBase::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::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler