clMatrix::operator+ Operator

Overload List

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

Overload 1: 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 2: clMatrix operator+(const TCplx &Left, const clMatrix &Right);

Add left to all elements in Right and return result.

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

Overload 3: clMatrix operator+(const clMatrix &Left, const TCplx &Right);

Add Right to all elements in Left and return result.

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

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

Add left to all elements in Right and return result.

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

Overload 5: clMatrix operator+(const clMatrix &Left, const double Right);

Add Right to all elements in Left and return result.

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

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

Add coresponding elements in Left and Right.

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

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

Add coresponding elements in Left and Right.

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

Overload 8: 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

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

Add coresponding elements in Left and Right.

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