Function sum_negative(vector<double>&)¶
Defined in File vector_num.hpp
Function Documentation¶
-
double sum_negative(vector<double> &x)
returns the sum of the negative components
- Parameters:
x – input vector
Defined in File vector_num.hpp
returns the sum of the negative components
x – input vector