Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

chebyshev

semibran59MIT0.2.1

Determine the Chebyshev distance between two points

chebyshev, distance, math, geometry

readme

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