TOpenCLVector::ThreshBottom Method

Overload List

#SignatureDescription
1TOpenCLBase *ThreshBottom(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);
2TOpenCLMtxVec *ThreshBottom(const double Value);Threshold bottom operation.
3TOpenCLMtxVec *ThreshBottom(const double Value, int Index, int Len);Perform the threshold operation on calling object values [Index]..[Index+Len-1].
4TOpenCLMtxVec *ThreshBottom(TOpenCLMtxVec *Src, const double Value);Perform threshold operation on all Src object values.
5TOpenCLMtxVec *ThreshBottom(TOpenCLMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);Perform a threshold operation on Vec elements [VecIndex]..[VecIndex+Len-1].

Overload 1: TOpenCLBase *ThreshBottom(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2Valueconst double
3VecIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLMtxVec *ThreshBottom(const double Value);

Threshold bottom operation.

#NameTypeDescription
1Valueconst double
Remarks:

Perform threshold operation on all calling object values. The Value parameter is a lower bound for threshold operation. All values smaller than Value will be replaced with Value.

See Also: TOpenCLVector::ThreshTop
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLMtxVec *ThreshBottom(const double Value, int Index, int Len);

Perform the threshold operation on calling object values [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst double
2Indexint
3Lenint
Remarks:

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

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

Overload 4: TOpenCLMtxVec *ThreshBottom(TOpenCLMtxVec *Src, const double Value);

Perform threshold operation on all Src object values.

#NameTypeDescription
1SrcTOpenCLMtxVec *
2Valueconst double
Remarks:

Store the results in calling object. Size and TOpenCLBase::Complex properties of the calling object are adjusted automatically.

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

Overload 5: TOpenCLMtxVec *ThreshBottom(TOpenCLMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);

Perform a threshold operation on Vec elements [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTOpenCLMtxVec *
2Valueconst double
3VecIndexint
4Indexint
5Lenint
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.

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