clVector::operator+ Operator

Overload List

#SignatureDescription
1clVector operator+(const TCplx &Left, const clVector &Right);Add left to all elements in Right and return result.
2clVector operator+(const clVector &Left, const TCplx &Right);Add Right to all elements in Left and return result.
3clVector operator+(const double Left, const clVector &Right);Add left to all elements in Right and return result.
4clVector operator+(const clVector &Left, const double Right);Add Right to all elements in Left and return result.
5clVector operator+(TOpenCLMtxVec *Left, const clVector &Right);Add coresponding elements in Left and Right.
6clVector operator+(const clVector &Left, TOpenCLMtxVec *Right);Add coresponding elements in Left and Right.
7clVector operator+(const clVector &Left, const clMatrix &Right);Add coresponding elements in Left and Right.
8clVector operator+(const clVector &Left, const clVector &Right);Add coresponding elements in Left and Right.
9clMatrix operator+(const clMatrix &Left, const clVector &Right);Add coresponding elements in Left and Right.

Overload 1: clVector operator+(const TCplx &Left, const clVector &Right);

Add left to all elements in Right and return result.

#NameTypeDescription
1Leftconst TCplx &
2Rightconst clVector &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: clVector operator+(const clVector &Left, const TCplx &Right);

Add Right to all elements in Left and return result.

#NameTypeDescription
1Leftconst clVector &
2Rightconst TCplx &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 3: clVector operator+(const double Left, const clVector &Right);

Add left to all elements in Right and return result.

#NameTypeDescription
1Leftconst double
2Rightconst clVector &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 4: clVector operator+(const clVector &Left, const double Right);

Add Right to all elements in Left and return result.

#NameTypeDescription
1Leftconst clVector &
2Rightconst double
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 5: clVector operator+(TOpenCLMtxVec *Left, const clVector &Right);

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftTOpenCLMtxVec *
2Rightconst clVector &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 6: clVector operator+(const clVector &Left, TOpenCLMtxVec *Right);

Add coresponding elements in Left and Right.

#NameTypeDescription
1Leftconst clVector &
2RightTOpenCLMtxVec *
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 7: clVector operator+(const clVector &Left, const clMatrix &Right);

Add coresponding elements in Left and Right.

#NameTypeDescription
1Leftconst clVector &
2Rightconst clMatrix &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 8: clVector operator+(const clVector &Left, const clVector &Right);

Add coresponding elements in Left and Right.

#NameTypeDescription
1Leftconst clVector &
2Rightconst clVector &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 9: clMatrix operator+(const clMatrix &Left, const clVector &Right);

Add coresponding elements in Left and Right.

#NameTypeDescription
1Leftconst clMatrix &
2Rightconst clVector &
Declared in Dew::Math · Dew.Math/clMtxExpr.h · Cross-compiler