ChebyshevDistance

As of Version 7.0, ChebyshevDistance is superseded by ChessboardDistance.

ChebyshevDistance[u,v]

gives the Chebyshev or sup norm distance between vectors u and v.

Details

  • ChebyshevDistance[u,v] is equivalent to Max[Abs[u-v]]. »

Examples

open allclose all

Basic Examples  (2)

The Chebyshev distance between two vectors:

Chebyshev distance between numeric vectors:

Scope  (2)

Compute the distance between any vectors of equal length:

Compute the distance between vectors of any precision:

Applications  (2)

Cluster data using Chebyshev distance:

Demonstrate the triangle inequality:

Properties & Relations  (4)

Chebyshev distance is the maximum of absolute differences:

ChebyshevDistance is equivalent to a Norm of a difference:

ChebyshevDistance is less than or equal to ManhattanDistance:

ChebyshevDistance is less than or equal to EuclideanDistance:

Introduced in 2007
 (6.0)