Update vectorDistance.md
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
### VectorDistance
|
||||
|
||||
Returns the distance between two points.
|
||||
Returns the distance between two vectors.
|
||||
|
||||
Use `Array.prototype.reduce()`,`Math.pow()` and `Math.sqrt()` to calculate the Euclidean distance between two vectors.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user