Function nalgebra_glm::l2_distance

source ·
pub fn l2_distance<T: RealNumber, const D: usize>(
    x: &TVec<T, D>,
    y: &TVec<T, D>
) -> T
Expand description

The l2-norm of x - y.

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

See also: