Update snippet descriptions
This commit is contained in:
@ -3,7 +3,7 @@ title: vectorDistance
|
||||
tags: math,beginner
|
||||
---
|
||||
|
||||
Returns the distance between two vectors.
|
||||
Calculates 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