Function vector_norm_double (o2scl)

O2scl : Function List

template<class vec_t>
double o2scl::vector_norm_double(size_t n, const vec_t &x)

Compute the norm of the first n entries of a vector of double precision numbers.

This function is a more generic version of o2scl_cblas::dnrm2 .

template<class vec_t>
double o2scl::vector_norm_double(const vec_t &x)

Compute the norm of a vector of double precision numbers.