ChessboardDistance

ChessboardDistance[u,v]

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

Details

Examples

open all close all

Basic Examples  (2)

The chessboard distance between two vectors:

In[1]:=
Click for copyable input
Out[1]=

Chessboard distance between numeric vectors:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Applications  (1)

Properties & Relations  (5)

Introduced in 2007
(6.0)