Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue); | Threshold greater than and less than operation. |
| 2 | TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int 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 | TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue); | Perform "greater than and less than" threshold operation on all Vec object values. |
| 4 | TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int 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: TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);
Threshold greater than and less than operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | const int | |
| 2 | GTValue | const int | |
| 3 | LTLevel | const int | |
| 4 | LTValue | const int |
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.
Overload 2: TMtxVecInt *ThresholdGT_LT(const int GTLevel, const int GTValue, const int LTLevel, const int 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 int | |
| 2 | GTValue | const int | |
| 3 | LTLevel | const int | |
| 4 | LTValue | const int | |
| 5 | Index | int | |
| 6 | Len | int |
An exception is raised if array borders are overrun/underrun.
Overload 3: TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int LTValue);
Perform "greater than and less than" threshold operation on all Vec object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVecInt * | |
| 2 | GTLevel | const int | |
| 3 | GTValue | const int | |
| 4 | LTLevel | const int | |
| 5 | LTValue | const int |
Store the results in calling object. Size of the calling object is adjusted automatically.
Overload 4: TMtxVecInt *ThresholdGT_LT(TMtxVecInt *Vec, const int GTLevel, const int GTValue, const int LTLevel, const int 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 | TMtxVecInt * | |
| 2 | GTLevel | const int | |
| 3 | GTValue | const int | |
| 4 | LTLevel | const int | |
| 5 | LTValue | const int | |
| 6 | VecIndex | int | |
| 7 | Index | int | |
| 8 | Len | int |
Store the results in the calling object elements [Index]..[Index+Len-1]. Size of the calling object must be set explicitly. An exception is raised if TVecInt::ConditionCheck is true and array borders are overrun/underrun.