[][src]Function acap::chebyshev::chebyshev_distance

pub fn chebyshev_distance<T, U>(x: T, y: U) -> T::Value where
    T: Coordinates,
    U: Coordinates<Value = T::Value>, 

Compute the Chebyshev distance between two points.

\begin{aligned}
\mathrm{chebyshev\_distance}(x, y) &= \|x - y\|_\infty \\
&= \max_i |x_i - y_i|
\end{aligned}