TOpenCLValue::Add Method

Overload List

#SignatureDescription
1TOpenCLBase *Add(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);
2TOpenCLBase *Add(TOpenCLBase *Vec, const TCplx &Value, int VecIndex, int Index, int Len);
3TOpenCLBase *Add(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
4TOpenCLValue *Add(TOpenCLValue *Src1, TOpenCLValue *Src2);Add Src1 and Src1.
5TOpenCLValue *Add(TOpenCLValue *Vec, double Value);Adds Value to Vec.
6TOpenCLValue *Add(TOpenCLValue *Vec, TCplx Value);Adds complex Value to Vec.

Overload 1: TOpenCLBase *Add(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2Valueconst double
3VecIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLBase *Add(TOpenCLBase *Vec, const TCplx &Value, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2Valueconst TCplx &
3VecIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLBase *Add(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);

#NameTypeDescription
1Vec1TOpenCLBase *
2Vec2TOpenCLBase *
3Vec1Indexint
4Vec2Indexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 4: TOpenCLValue *Add(TOpenCLValue *Src1, TOpenCLValue *Src2);

Add Src1 and Src1.

#NameTypeDescription
1Src1TOpenCLValue *
2Src2TOpenCLValue *
Remarks:

The results are stored in the calling object. FloatPrecision and TOpenCLBase::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

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

Adds Value to Vec.

#NameTypeDescription
1VecTOpenCLValue *
2Valuedouble
Remarks:

Stores the result in the calling object. FloatPrecision and TOpenCLBase::Complex properties of the calling object are set automatically.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

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

Adds complex Value to Vec.

#NameTypeDescription
1VecTOpenCLValue *
2ValueTCplx
Remarks:

Store the result to the calling object. Size property of the calling object is set automatically. TOpenCLBase::Complex property of the calling object is set to True.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler