Skip to content

EuclideanDistance

EuclideanDistance(u, v)

returns the euclidean distance between u and v.

See

Examples

>> EuclideanDistance({-1, -1}, {1, 1})
2*Sqrt(2)
>> EuclideanDistance({a, b}, {c, d})
Sqrt(Abs(a-c)^2+Abs(b-d)^2)

FindClusters, BinaryDistance, BrayCurtisDistance, ChessboardDistance, CanberraDistance, CosineDistance, ManhattanDistance, SquaredEuclideanDistance

Implementation status

  • ✅ - full supported

Github