[][src]Function nalgebra_glm::l2_distance

pub fn l2_distance<N: Real, D: Dimension>(x: &TVec<N, D>, y: &TVec<N, D>) -> N where
    DefaultAllocator: Alloc<N, D>, 

The l2-norm of x - y.

This is the same value as returned by length2 and magnitude2.

See also: