Detalhes do pacote

chebyshev

semibran59MIT0.2.1

Determine the Chebyshev distance between two points

chebyshev, distance, math, geometry

readme (leia-me)

chebyshev

Chebyshev distance from the square F6

This module exposes the function chebyshev(a, b), which determines the Chebyshev distance between points a and b.

> const chebyshev = require('chebyshev')
> chebyshev([6, 6], [5, 2])
4

NPM

see also

license

MIT © Brandon Semilla