clValue::Add Method

Overload List

#SignatureDescription
1TOpenCLValue *Add(TOpenCLValue *Src1, TOpenCLValue *Src2) const;Add values in Src1 and Src2.
2TOpenCLValue *Add(TOpenCLValue *Vec, double Value) const;Add values in Src1 and Src2.
3TOpenCLValue *Add(TOpenCLValue *Vec, TCplx Value) const;Add values in Src1 and Src2.

Overload 1: TOpenCLValue *Add(TOpenCLValue *Src1, TOpenCLValue *Src2) const;

Add values in Src1 and Src2.

#NameTypeDescription
1Src1TOpenCLValue *
2Src2TOpenCLValue *
Remarks:

The result is stored in the calling object. clValue::FloatPrecision and clValue::Complex properties of the calling object are set implicitly to match Src1 and Src2.

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

Overload 2: TOpenCLValue *Add(TOpenCLValue *Vec, double Value) const;

Add values in Src1 and Src2.

#NameTypeDescription
1VecTOpenCLValue *
2Valuedouble
Remarks:

The result is stored in the calling object. clValue::FloatPrecision and clValue::Complex properties of the calling object are set implicitly to match Vec and Value.

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

Overload 3: TOpenCLValue *Add(TOpenCLValue *Vec, TCplx Value) const;

Add values in Src1 and Src2.

#NameTypeDescription
1VecTOpenCLValue *
2ValueTCplx
Remarks:

The result is stored in the calling object. clValue::FloatPrecision and clValue::Complex properties of the calling object are set implicitly to match Vec and Value.

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