Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLValue *Mul(TOpenCLValue *Src1, TOpenCLValue *Src2) const; | Multiply Src1 with Src2. |
| 2 | TOpenCLValue *Mul(TOpenCLValue *Vec, double Value) const; | Multiply each element of Vec with Value. |
| 3 | TOpenCLValue *Mul(TOpenCLValue *Vec, TCplx Value) const; | Multiply Src with complex Value. |
Overload 1: TOpenCLValue *Mul(TOpenCLValue *Src1, TOpenCLValue *Src2) const;
Multiply Src1 with Src2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLValue * | |
| 2 | Src2 | TOpenCLValue * |
Remarks:
Stores the result in the calling object. FloatPrecision and clValue::Complex property of calling object are adjusted automatically to match those of Src1 and Src2. An exception is raised if Src1 and Src2 size and clValue::Complex property do not match.
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLValue *Mul(TOpenCLValue *Vec, double Value) const;
Multiply each element of Vec with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue * | |
| 2 | Value | double |
Remarks:
Store the result in the calling object. Size and clValue::Complex properties of the calling object are adjusted automatically.
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 3: TOpenCLValue *Mul(TOpenCLValue *Vec, TCplx Value) const;
Multiply Src with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue * | |
| 2 | Value | TCplx |
Remarks:
Store the result in the calling object. Size of the calling object is set automatically. clValue::Complex property of the calling object is set to True.
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler