num::sum¶ Defined in header <container/reduce.hpp> real sum(const vec<real> &x); The sum of the entries, \(\sum_i x_i\).