TOpenCLValue.Mul Method

Overload List

#SignatureDescription
1function Mul(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue;Multiply Vec with Value.
2function Mul(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue;Multiply Src1 with Src2.
3function Mul(const Vec: TOpenCLValue; Value: Double): TOpenCLValue;Multiply Vec with Value.

Overload 1: function Mul(const Vec: TOpenCLValue; Value: TCplx): TOpenCLValue;

Multiply Vec with Value.

#NameTypeDescription
1VecTOpenCLValue
2ValueTCplxscalar

Returns: TOpenCLValue

Remarks:

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

Overload 2: function Mul(const Src1: TOpenCLValue; const Src2: TOpenCLValue): TOpenCLValue;

Multiply Src1 with Src2.

#NameTypeDescription
1Src1TOpenCLValue
2Src2TOpenCLValue

Returns: TOpenCLValue

Remarks:

Stores the result in the calling object. FloatPrecision and 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 TOpenCLBase.Complex property do not match.

Overload 3: function Mul(const Vec: TOpenCLValue; Value: Double): TOpenCLValue;

Multiply Vec with Value.

#NameTypeDescription
1VecTOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

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