TOpenCLValue.Mul Method

Overload List

#SignatureDescription
1TOpenCLValue Mul(TOpenCLValue Vec, TCplx Value)Multiply Vec with Value.
2TOpenCLValue Mul(TOpenCLValue Src1, TOpenCLValue Src2)Multiply Src1 with Src2.
3TOpenCLValue Mul(TOpenCLValue Vec, Double Value)Multiply Vec with Value.

Overload 1: TOpenCLValue Mul(TOpenCLValue Vec, TCplx Value)

Multiply Vec with Value.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueTCplxscalar

Returns: TOpenCLValue

Remarks:

Stores the result in to the calling object. FloatPrecision and Dew.Math.TOpenCLBase.Complex properties of the calling object are adjusted automatically.

Overload 2: TOpenCLValue Mul(TOpenCLValue Src1, TOpenCLValue Src2)

Multiply Src1 with Src2.

#NameTypeDescription
1Src1TOpenCLValuesource TOpenCLValue
2Src2TOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Stores the result in the calling object. FloatPrecision and Dew.Math.TOpenCLBase.Complex property of calling object are adjusted automatically to match those of Vec1 and Vec2. An exception is raised if Vec1 and Vec2 FloatPrecision and Dew.Math.TOpenCLBase.Complex property do not match.

Overload 3: TOpenCLValue Mul(TOpenCLValue Vec, Double Value)

Multiply Vec with Value.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

Stores the result in to the calling object. FloatPrecision and Dew.Math.TOpenCLBase.Complex properties of the calling object are adjusted automatically.