Function nalgebra::norm_squared [] [src]

pub fn norm_squared<V: NormedSpace>(v: &V) -> V::Field

Computes the squared L2 (euclidean) norm of the vector v.