1.0.0 • Published 9 years ago
ml-euclidean-distance v1.0.0
euclidean-distance
Compute the euclidean distance between two vectors
Installation
$ npm install ml-euclidean-distance
Usage
euclidean(p, q)
Returns the Euclidean distance between vectors p and q.
euclidean.squared(p, q)
Returns the squared Euclidean distance between vectors p and q.
License
1.0.0
9 years ago