clValue.Mul Method

Overload List

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

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

Multiply Src with complex Value.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueTCplxscalar

Returns: TOpenCLValue

Remarks:

Store the result in the calling object. Size of the calling object is set automatically. Dew.Math.clValue.Complex property of the calling object is set to True.

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.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 Dew.Math.clValue.Complex property do not match.

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

Multiply each element of Vec with Value.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

Store the result in the calling object. Size and Dew.Math.clValue.Complex properties of the calling object are adjusted automatically.