Function nalgebra::sqnorm [] [src]

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

Computes the squared L2 norm of a vector.