clValue.SubFrom Method

Overload List

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

Overload 1: function SubFrom(Value: TCplx; Vec: TOpenCLValue): TOpenCLValue;

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. clValue.Complex property of the calling object is set to True.

Overload 2: function SubFrom(Value: Double; Vec: TOpenCLValue): TOpenCLValue;

subtract Vec elements from Value.

#NameTypeDescription
1ValueDoublescalar
2VecTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

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