euclidean
Calculate the Euclidean distance between two points
This module exposes the function distance(a, b)
, which determines the Euclidean distance between points a
and b
.
> const distance = > 3
see also
semibran/manhattan
- calculate Manhattan distancesemibran/chebyshev
- calculate Chebyshev distancesemibran/vector
- more vector math