Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, TCplx GTValue) | Perform "greater than" threshold operation for complex numbers on all Vec object values. |
| └ indexed: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, TCplx GTValue, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, Double GTValue) | Perform "greater than" threshold operation on all Vec object values. |
| └ indexed: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, Double GTValue, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TOpenCLMtxVec ThresholdGT(Double GTLevel, TCplx GTValue) | Perfrom "greater than" threshold operation for complex numbers. |
| └ indexed: TOpenCLMtxVec ThresholdGT(Double GTLevel, TCplx GTValue, Int32 Index, Int32 Len) | ||
| 4 | TOpenCLMtxVec ThresholdGT(Double GTLevel, Double GTValue) | Threshold greater than operation. |
| └ indexed: TOpenCLMtxVec ThresholdGT(Double GTLevel, Double GTValue, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, TCplx GTValue)
Perform "greater than" threshold operation for complex numbers on all Vec object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are adjusted automatically. If Vec object contains none Complex values, an exception will be raised.
Indexed: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, TCplx GTValue, Int32 VecIndex, Int32 Index, Int32 Len)
Perform "greater than" threshold operation for complex numbers on Vec elements from range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | 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
Store the results in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun/underrun. If Vec object or calling object contain none Complex values, an exception will be raised.
Overload 2: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, Double GTValue)
Perform "greater than" threshold operation on all Vec object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are adjusted automatically.
Indexed: TOpenCLMtxVec ThresholdGT(TOpenCLMtxVec Vec, Double GTLevel, Double GTValue, Int32 VecIndex, Int32 Index, Int32 Len)
Perform "greater than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | GTLevel | Double | scalar |
| 3 | GTValue | 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
Store the results in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun/underrun. An exception will be raised if Vec.Complex and Complex of the calling object are not equal.
Overload 3: TOpenCLMtxVec ThresholdGT(Double GTLevel, TCplx GTValue)
Perfrom "greater than" threshold operation for complex numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | Double | scalar |
| 2 | GTValue | 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: TOpenCLMtxVec ThresholdGT(Double GTLevel, TCplx GTValue, Int32 Index, Int32 Len)
Perfrom "greater than" threshold operation for complex numbers on the calling object values in range [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | Double | scalar |
| 2 | GTValue | 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: TOpenCLMtxVec ThresholdGT(Double GTLevel, Double GTValue)
Threshold greater than operation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | Double | scalar |
| 2 | GTValue | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Perform operation on all calling object values. The GTValue parameter is an upper bound for threshold operation. All values bigger than LTLevel will be replaced with GTValue. For complex number comparation is applied with norm of complex value.
clMatrix a;
a.CopyFromArray(2,2,TSingleArray.Create(2,0.1,3,4));
a.ThresholdGT(2.3,3.4); // a = new double[] {2,0.1,3.4,3.4}
Indexed: TOpenCLMtxVec ThresholdGT(Double GTLevel, Double GTValue, Int32 Index, Int32 Len)
Perfrom "greater than" threshold operation on the calling object values in range [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | GTLevel | Double | scalar |
| 2 | GTValue | 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.