Calculate distance for any number of dimensions (without using a for loop) Recall, Distance = sqrt((x2 - x1)^2 + (y2 - y1)^2 ... more terms here)
1 | D.ndim(point1, point2)
|
point1 |
The first input point |
point2 |
The secont input point. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.