clValue::Mul Method

Overload List

#SignatureDescription
1TOpenCLValue *Mul(TOpenCLValue *Src1, TOpenCLValue *Src2) const;Multiply Src1 with Src2.
2TOpenCLValue *Mul(TOpenCLValue *Vec, double Value) const;Multiply each element of Vec with Value.
3TOpenCLValue *Mul(TOpenCLValue *Vec, TCplx Value) const;Multiply Src with complex Value.

Overload 1: TOpenCLValue *Mul(TOpenCLValue *Src1, TOpenCLValue *Src2) const;

Multiply Src1 with Src2.

#NameTypeDescription
1Src1TOpenCLValue *
2Src2TOpenCLValue *
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.

#NameTypeDescription
1VecTOpenCLValue *
2Valuedouble
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.

#NameTypeDescription
1VecTOpenCLValue *
2ValueTCplx
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