Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; const LTValue: TCplx): TOpenCLMtxVec; | Perform "less than" threshold operation for complex numbers on all Vec object values. |
| └ indexed: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; const LTValue: TCplx; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec; | ||
| 2 | function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; LTValue: Double): TOpenCLMtxVec; | Perform "less than" threshold operation on all Vec object values. |
| └ indexed: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; LTValue: Double; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec; | ||
| 3 | function ThresholdLT(LTLevel: Double; const LTValue: TCplx): TOpenCLMtxVec; | Perfrom "less than" threshold operation for complex numbers. |
| └ indexed: function ThresholdLT(LTLevel: Double; const LTValue: TCplx; Index: Integer; Len: Integer): TOpenCLMtxVec; | ||
| 4 | function ThresholdLT(LTLevel: Double; LTValue: Double): TOpenCLMtxVec; | Threshold less than operation. |
| └ indexed: function ThresholdLT(LTLevel: Double; LTValue: Double; Index: Integer; Len: Integer): TOpenCLMtxVec; |
Overload 1: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; const LTValue: TCplx): TOpenCLMtxVec;
Perform "less than" threshold operation for complex numbers on all Vec object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | TCplx |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and clVector.Complex properties of the calling object are adjusted automatically. If Vec object contains none Complex values, an exception will be raised.
Indexed: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; const LTValue: TCplx; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;
Perform "less than" threshold operation for complex numbers on Vec elements from range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | TCplx | |
| 4 | VecIndex | Integer | |
| 5 | Index | Integer | start index |
| 6 | Len | Integer | 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 clVector.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: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; LTValue: Double): TOpenCLMtxVec;
Perform "less than" threshold operation on all Vec object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object. Size and clVector.Complex properties of the calling object are adjusted automatically.
Indexed: function ThresholdLT(const Vec: TOpenCLMtxVec; LTLevel: Double; LTValue: Double; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;
Perform "less than" threshold operation on Vec elements from range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | |
| 2 | LTLevel | Double | scalar |
| 3 | LTValue | Double | scalar |
| 4 | VecIndex | Integer | |
| 5 | Index | Integer | start index |
| 6 | Len | Integer | 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 clVector.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: function ThresholdLT(LTLevel: Double; const LTValue: TCplx): TOpenCLMtxVec;
Perfrom "less than" threshold operation for complex numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | LTLevel | Double | scalar |
| 2 | LTValue | TCplx |
Result: stored in self (calling object), returns self for chaining
If the calling object contains none Complex values, an exception will be raised.
Indexed: function ThresholdLT(LTLevel: Double; const LTValue: TCplx; Index: Integer; Len: Integer): TOpenCLMtxVec;
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 | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | 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: function ThresholdLT(LTLevel: Double; LTValue: Double): TOpenCLMtxVec;
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.
var a: clVector;
begin
a.CopyFromArray(TSingleArray.Create(2,0.1,3,4));
a.ThresholdLT(2.3,1.5); // a = [1.5,1.5,3,4]
end;
Indexed: function ThresholdLT(LTLevel: Double; LTValue: Double; Index: Integer; Len: Integer): TOpenCLMtxVec;
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 | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun/underrun.