clVector.op_Addition Operator

Overload List

#SignatureDescription
1clVector op_Addition(TCplx Left, clVector Right)Add left to all elements in Right and return result.
2clVector op_Addition(TOpenCLMtxVec Left, clVector Right)Add coresponding elements in Left and Right.
3clVector op_Addition(clVector Left, TCplx Right)Add Right to all elements in Left and return result.
4clVector op_Addition(clVector Left, TOpenCLMtxVec Right)Add coresponding elements in Left and Right.
5clVector op_Addition(clVector Left, clVector Right)Add coresponding elements in Left and Right.
6clVector op_Addition(clVector Left, Double Right)Add Right to all elements in Left and return result.
7clVector op_Addition(Double Left, clVector Right)Add left to all elements in Right and return result.

Overload 1: clVector op_Addition(TCplx Left, clVector Right)

Add left to all elements in Right and return result.

#NameTypeDescription
1LeftTCplxscalar
2RightclVector

Result: stored in self (calling object), returns self for chaining

Overload 2: clVector op_Addition(TOpenCLMtxVec Left, clVector Right)

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2RightclVector

Result: stored in self (calling object), returns self for chaining

Overload 3: clVector op_Addition(clVector Left, TCplx Right)

Add Right to all elements in Left and return result.

#NameTypeDescription
1LeftclVector
2RightTCplxscalar

Result: stored in self (calling object), returns self for chaining

Overload 4: clVector op_Addition(clVector Left, TOpenCLMtxVec Right)

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftclVector
2RightTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

Result: stored in self (calling object), returns self for chaining

Overload 5: clVector op_Addition(clVector Left, clVector Right)

Add coresponding elements in Left and Right.

#NameTypeDescription
1LeftclVector
2RightclVector

Result: stored in self (calling object), returns self for chaining

Overload 6: clVector op_Addition(clVector Left, Double Right)

Add Right to all elements in Left and return result.

#NameTypeDescription
1LeftclVector
2RightDoublescalar

Result: stored in self (calling object), returns self for chaining

Overload 7: clVector op_Addition(Double Left, clVector Right)

Add left to all elements in Right and return result.

#NameTypeDescription
1LeftDoublescalar
2RightclVector

Result: stored in self (calling object), returns self for chaining