Functions vector_norm¶
-
template<class
vec_t
, classdata_t
>
data_to2scl
::
vector_norm
(size_t n, const vec_t &x)¶ Compute the norm of the first
n
entries of a vector of floating-point (single or double precision) numbers.This function is a more generic version of o2scl_cblas::dnrm2 .