Function nalgebra::norm_squared [−] [src]

pub fn norm_squared<V: Norm>(v: &V) -> V::NormType

Computes the squared L2 norm of a vector.