Overload List
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);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | GTLevel | const double | |
| 3 | GTValue | const double | |
| 4 | LTLevel | const double | |
| 5 | LTValue | const double | |
| 6 | VecIndex | int | |
| 7 | Index | int | |
| 8 | Len | int |
Overload 2: TOpenCLMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue);
Threshold greater than and less than operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | const double | |
| 2 | GTValue | const double | |
| 3 | LTLevel | const double | |
| 4 | LTValue | const double |
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.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | const double | |
| 2 | GTValue | const double | |
| 3 | LTLevel | const double | |
| 4 | LTValue | const double | |
| 5 | Index | int | |
| 6 | Len | int |
An exception is raised if array borders are overrun/underrun. An exception will be raised if the calling object contains complex numbers.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | GTLevel | const double | |
| 3 | GTValue | const double | |
| 4 | LTLevel | const double | |
| 5 | LTValue | const double |
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.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | GTLevel | const double | |
| 3 | GTValue | const double | |
| 4 | LTLevel | const double | |
| 5 | LTValue | const double | |
| 6 | VecIndex | int | |
| 7 | Index | int | |
| 8 | Len | int |
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.