Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Add(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue; | Add values in Src1 and Src2. |
| 2 | function Add(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue; | Add values in Src1 and Src2. |
| 3 | function Add(const Vec: TOpenCLValue; Value: Double): TOpenCLValue; | Add values in Src1 and Src2. |
Overload 1: function Add(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue;
Add values in Src1 and Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | Value | TCplx | scalar |
Returns: TOpenCLValue
Remarks:
The result is stored in the calling object. clValue.FloatPrecision and clValue.Complex properties of the calling object are set implicitly to match Vec and Value.
Overload 2: function Add(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue;
Add values in Src1 and Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLValue | |
| 2 | Src2 | TOpenCLValue |
Returns: TOpenCLValue
Remarks:
The result is stored in the calling object. clValue.FloatPrecision and clValue.Complex properties of the calling object are set implicitly to match Src1 and Src2.
Overload 3: function Add(const Vec: TOpenCLValue; Value: Double): TOpenCLValue;
Add values in Src1 and Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | Value | Double | scalar |
Returns: TOpenCLValue
Remarks:
The result is stored in the calling object. clValue.FloatPrecision and clValue.Complex properties of the calling object are set implicitly to match Vec and Value.