distance
distance([x1, y1], [x2, y2])
distance([[x1, y1], [x2, y2]])
Calculates the Euclidean distance between two points.
Try it yourself:
$1 | distance([0,0], [4,4])
| |
$2 | distance([[0,0], [4,4]])
|
Calculates the Euclidean distance between two points.
Try it yourself:
$1 | distance([0,0], [4,4])
| |
$2 | distance([[0,0], [4,4]])
|