Description Usage Arguments Details Value Examples
The Chebyshev distance is the maximum absolute difference between the vector elements.
1 | chebyshev(x, y)
|
x, y |
Numeric vectors |
For vectors x
and y
, the Chebyshev distance is defined as
d(x, y) = \max_i |x_i - y_i|.
Relation to other definitions:
Equivalent to the chebyshev()
function in
scipy.spatial.distance
.
The Chebyshev distance between x
and y
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.