vector vector::operator- ( const vector other ) const

Function to subtract a vector from another vector.

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

 All Classes Files Functions Variables Typedefs Friends Defines