Function vector_space::distance2[][src]

pub fn distance2<T: Sub>(a: T, b: T) -> <T::Output as VectorSpace>::Scalar where
    T::Output: InnerSpace
Expand description

The squared distance between two points.