Function asum (o2scl_cblas)

O2scl : Function List

template<class vec_t, class fp_t>
fp_t o2scl_cblas::asum(const size_t N, const vec_t &X)

Compute the absolute sum of vector elements.

If alpha is zero, this function returns and performs no computations.