clValue.SubFrom Method

Overload List

#SignatureDescription
1TOpenCLValue SubFrom(TCplx Value, TOpenCLValue Vec)subtract complex Vec elements from Value.
2TOpenCLValue SubFrom(Double Value, TOpenCLValue Vec)subtract Vec elements from Value.

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

subtract complex Vec elements from Value.

#NameTypeDescription
1ValueTCplxscalar
2VecTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

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

Overload 2: TOpenCLValue SubFrom(Double Value, TOpenCLValue Vec)

subtract Vec elements from Value.

#NameTypeDescription
1ValueDoublescalar
2VecTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

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