Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Add(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue; | Adds complex Value to Vec. |
| 2 | function Add(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue; | Add Src1 and Src1. |
| 3 | function Add(const Vec: TOpenCLValue; Value: Double): TOpenCLValue; | Adds Value to Vec. |
Overload 1: function Add(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue;
Adds complex Value to Vec.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | Value | TCplx | scalar |
Returns: TOpenCLValue
Remarks:
Store the result to the calling object. Size property of the calling object is set automatically. TOpenCLBase.Complex property of the calling object is set to True.
Overload 2: function Add(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue;
Add Src1 and Src1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLValue | |
| 2 | Src2 | TOpenCLValue |
Returns: TOpenCLValue
Remarks:
The results are stored in the calling object. FloatPrecision and TOpenCLBase.Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.
Overload 3: function Add(const Vec: TOpenCLValue; Value: Double): TOpenCLValue;
Adds Value to Vec.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue | |
| 2 | Value | Double | scalar |
Returns: TOpenCLValue
Remarks:
Stores the result in the calling object. FloatPrecision and TOpenCLBase.Complex properties of the calling object are set automatically.