clValue::SubFrom Method

Overload List

#SignatureDescription
1TOpenCLValue *SubFrom(double Value, TOpenCLValue *Vec) const;Substract Vec elements from Value.
2TOpenCLValue *SubFrom(TCplx Value, TOpenCLValue *Vec) const;Substract complex Vec elements from Value.

Overload 1: TOpenCLValue *SubFrom(double Value, TOpenCLValue *Vec) const;

Substract Vec elements from Value.

#NameTypeDescription
1Valuedouble
2VecTOpenCLValue *
Remarks:

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

Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: TOpenCLValue *SubFrom(TCplx Value, TOpenCLValue *Vec) const;

Substract complex Vec elements from Value.

#NameTypeDescription
1ValueTCplx
2VecTOpenCLValue *
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.

Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler