Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *ThreshAbsLT(const int Value); | Threshold top and bottom centered around zero. |
| 2 | TMtxVecInt *ThreshAbsLT(const int Value, int Index, int Len); | Perfrom the threshold operation on calling object values [Index]..[Index+Len-1]. |
| 3 | TMtxVecInt *ThreshAbsLT(TMtxVecInt *Src, const int Value); | Perform threshold operation on all Src object values. |
| 4 | TMtxVecInt *ThreshAbsLT(TMtxVecInt *Vec, const int Value, int VecIndex, int Index, int Len); | Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1]. |
Overload 1: TMtxVecInt *ThreshAbsLT(const int Value);
Threshold top and bottom centered around zero.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int |
Perform threshold operation on all calling object values. The Value parameter is an upper bound for threshold operation. All values smaller than Value will be replaced with Value and all values bigger than -Value will be replaced with -Value. The comparison checks if abs(Values[i]) < Value.
Overload 2: TMtxVecInt *ThreshAbsLT(const int Value, int Index, int Len);
Perfrom the threshold operation on calling object values [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const int | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun/underrun.
Overload 3: TMtxVecInt *ThreshAbsLT(TMtxVecInt *Src, const int Value);
Perform threshold operation on all Src object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Value | const int |
Store the results in calling object. Size and TVecInt::IntPrecision properties of the calling object are adjusted automatically.
Overload 4: TMtxVecInt *ThreshAbsLT(TMtxVecInt *Vec, const int Value, int VecIndex, int Index, int Len);
Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVecInt * | |
| 2 | Value | const int | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Store the results in the calling object elements [Index]..[Index+Len-1]. Size and TVecInt::IntPrecision properties of the calling object must be set explicitly. An exception is raised if TVecInt::ConditionCheck is true and array borders are overrun/underrun.