Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, TCplx LTValue) | Perform "less than" threshold operation for complex numbers on all Vec object values and store the results in calling object. |
| └ indexed: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, TCplx LTValue, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, Double LTValue) | Perform "less than" threshold operation on all Vec object values and store the results in calling object. |
| └ indexed: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, Double LTValue, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TMtxVec ThresholdLT(Double LTLevel, TCplx LTValue) | Perfrom "less than" threshold operation for complex numbers. |
| └ indexed: TMtxVec ThresholdLT(Double LTLevel, TCplx LTValue, Int32 Index, Int32 Len) | ||
| 4 | TMtxVec ThresholdLT(Double LTLevel, Double LTValue) | Threshold less than operation. |
| └ indexed: TMtxVec ThresholdLT(Double LTLevel, Double LTValue, Int32 Index, Int32 Len) |
Overload 1: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, TCplx LTValue)
Perform "less than" threshold operation for complex numbers on all Vec object values and store the results in calling object.
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.Vector.Complex properties of the calling object are adjusted automatically. If Vec object contains none Complex values, an exception will be raised.
Indexed: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, TCplx LTValue, Int32 VecIndex, Int32 Index, Int32 Len)
Perform "less than" threshold operation for complex numbers on Vec elements from range [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | TCplx | scalar |
| 4 | VecIndex | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.Vector.Complex properties of the calling object must be set explicitly. An exception is raised if Dew.Math.Vector.ConditionCheck is true and array borders are overrun/underrun. If Vec object or calling object contain none Complex values, an exception will be raised.
Overload 2: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, Double LTValue)
Perform "less than" threshold operation on all Vec object values and store the results in calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.Vector.Complex properties of the calling object are adjusted automatically.
Indexed: TMtxVec ThresholdLT(TMtxVec Vec, Double LTLevel, Double LTValue, Int32 VecIndex, Int32 Index, Int32 Len)
Perform "less than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | Double | scalar |
| 4 | VecIndex | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Size and Dew.Math.Vector.Complex properties of the calling object must be set explicitly. An exception is raised if Dew.Math.Vector.ConditionCheck is true and array borders are overrun/underrun. An exception will be raised if Vec.Complex and Complex of the calling object are not equal.
Overload 3: TMtxVec ThresholdLT(Double LTLevel, TCplx LTValue)
Perfrom "less than" threshold operation for complex numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | LTLevel | Double | scalar |
| 2 | LTValue | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
If the calling object contains none Complex values, an exception will be raised.
Indexed: TMtxVec ThresholdLT(Double LTLevel, TCplx LTValue, Int32 Index, Int32 Len)
Perfrom "less than" threshold operation for complex numbers on the calling object values in range [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | LTLevel | Double | scalar |
| 2 | LTValue | TCplx | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun/underrun. If the calling object contains none Complex values, an exception will be raised.
Overload 4: TMtxVec ThresholdLT(Double LTLevel, Double LTValue)
Threshold less than operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | LTLevel | Double | scalar |
| 2 | LTValue | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Perform operation on all calling object values. The LTValue parameter is an lower bound for threshold operation. All values less than LTLevel will be replaced with LTValue. For complex number comparation is applied with norm of complex value.
Vector a;
a.SetIt(true,new double[] {2,0.1,3,4});
a.ThresholdLT(2.3,1.5); // a = new double[] {1.5,1.5,3,4}
Indexed: TMtxVec ThresholdLT(Double LTLevel, Double LTValue, Int32 Index, Int32 Len)
Perfrom "less than" threshold operation on the calling object values in range [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | LTLevel | Double | scalar |
| 2 | LTValue | Double | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun/underrun.