Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *ThreshTop(double Value) const; | Threshold top operation. |
| 2 | TMtxVec *ThreshTop(double Value, int Index, int Len) const; | Perfrom the threshold operation on calling object values [Index]..[Index+Len-1]. |
| 3 | TMtxVec *ThreshTop(TMtxVec *Src, double Value) const; | Perform threshold operation on all Src object values and store the results in calling object. |
| 4 | TMtxVec *ThreshTop(TMtxVec *Vec, double Value, int VecIndex, int Index, int Len) const; | Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1]. |
Overload 1: TMtxVec *ThreshTop(double Value) const;
Threshold top operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Perform threshold operation on all calling object values. The Value parameter is an upper bound for threshold operation. All values bigger than Value will be replaced with Value.
Overload 2: TMtxVec *ThreshTop(double Value, int Index, int Len) const;
Perfrom the threshold operation on calling object values [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun/underrun.
Overload 3: TMtxVec *ThreshTop(TMtxVec *Src, double Value) const;
Perform threshold operation on all Src object values and store the results in calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Value | double |
Size and Vector::Complex properties of the calling object are adjusted automatically.
Overload 4: TMtxVec *ThreshTop(TMtxVec *Vec, double Value, int VecIndex, int Index, int Len) const;
Perform a threshold operation Vec elements [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Size and Vector::Complex properties of the calling object must be set explicitly. An exception is raised if Vector::ConditionCheck is true and array borders are overrun/underrun.