nalgebra_glm

pub fn l2_norm<N: RealField, D: Dimension>(x: &TVec<N, D>) -> N where DefaultAllocator: Alloc<N, D>,

The l2-norm of v.

v

This is also known as the Euclidean norm.

This is the same value as returned by length and magnitude.

length

magnitude

l1_distance

l1_norm

l2_distance

length2

magnitude2