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