Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLValue SubFrom(TCplx Value, TOpenCLValue Vec) | subtract Vec from Value. |
| 2 | TOpenCLValue SubFrom(Double Value, TOpenCLValue Vec) | subtract Vec elements from Value. |
Overload 1: TOpenCLValue SubFrom(TCplx Value, TOpenCLValue Vec)
subtract Vec from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Vec | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Stores the result in 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 SubFrom(Double Value, TOpenCLValue Vec)
subtract Vec elements from Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Vec | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Stores the result in the calling object. FloatPrecision and Dew.Math.TOpenCLBase.Complex properties of calling object are adjusted automatically.