int vector::operator+= ( const vector other ) [inline]

Function to add to a vector another vector.

Overloads the += operator. This function adds the elements of vector b to the elements of vector a, a'_i = a_i + b_i. The two vectors must have the same length.

 All Classes Files Functions Variables Typedefs Friends Defines