nrm2_ndarray

Function nrm2_ndarray 

Source
pub fn nrm2_ndarray<T: Field + Real>(x: &Array1<T>) -> T
Expand description

Computes the Euclidean (L2) norm of a vector.

||x||_2 = sqrt(sum(x_i^2))