Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLValue Sub(TOpenCLValue Src, TCplx Value) | Subtract complex Value from Src. |
| 2 | TOpenCLValue Sub(TOpenCLValue Vec1, TOpenCLValue Vec2) | Computes Vec1 - Vec2. |
| 3 | TOpenCLValue Sub(TOpenCLValue Src, Double Value) | Subtract real Value from Src. |
Overload 1: TOpenCLValue Sub(TOpenCLValue Src, TCplx Value)
Subtract complex Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLValue | source TOpenCLValue |
| 2 | Value | TCplx | scalar |
Returns: TOpenCLValue
Remarks:
Store the results in calling object. Size and Dew.Math.clValue.Complex property of calling object are adjusted automatically.
Overload 2: TOpenCLValue Sub(TOpenCLValue Vec1, TOpenCLValue Vec2)
Computes Vec1 - Vec2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLValue | source TOpenCLValue |
| 2 | Vec2 | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Stores the result in the calling object. FloatPrecision and Dew.Math.clValue.Complex property of the calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 FloatPrecision and Dew.Math.clValue.Complex properties do not match.
Overload 3: TOpenCLValue Sub(TOpenCLValue Src, Double Value)
Subtract real Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLValue | source TOpenCLValue |
| 2 | Value | Double | scalar |
Returns: TOpenCLValue
Remarks:
Store the result in calling object.