chebyshev

0.2.1 • Public • Published

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

Package Sidebar

Install

npm i chebyshev

Weekly Downloads

44

Version

0.2.1

License

MIT

Last publish

Collaborators

  • semibran