Function nalgebra::norm_squared [] [src]

pub fn norm_squared<V: Norm<N>, N: BaseFloat>(v: &V) -> N

Computes the squared L2 norm of a vector.