num::seq::sum¶ Defined in header <container/reduce.hpp> real sum(const vec<real> &x) noexcept; Sum \(\sum_{i=0}^{n-1} x_i\).