O2scl : Function List
vec_t
o2scl::
::
vector_sum_double
Compute the sum of the first n elements of a vector of double-precision numbers.
n
If n is zero, this will return 0 without throwing an exception.
Compute the sum of all the elements of a vector of double-precision numbers.
If the vector has zero size, this will return 0 without calling the error handler.