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