Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *ThresholdGT_LT(const double GTLevel, const double GTValue, const double LTLevel, const double LTValue); | Threshold greater than and less than operation. |
| 2 | TMtxVec *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]. |
| 3 | TMtxVec *ThresholdGT_LT(TMtxVec *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. |
| 4 | TMtxVec *ThresholdGT_LT(TMtxVec *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: TMtxVec *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 not Complex values.
Overload 2: TMtxVec *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 3: TMtxVec *ThresholdGT_LT(TMtxVec *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 | TMtxVec * | |
| 2 | GTLevel | const double | |
| 3 | GTValue | const double | |
| 4 | LTLevel | const double | |
| 5 | LTValue | const double |
Store the results in calling object. Size and TMtx::Complex properties of the calling object are adjusted automatically. An exception will be raised if Vec object contains complex numbers.
Overload 4: TMtxVec *ThresholdGT_LT(TMtxVec *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 | TMtxVec * | |
| 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 TMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TMtx::ConditionCheck is true and array borders are overrun/underrun. An exception will be raised if Vec object or the calling object contain complex numbers.