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