EuclideanDistance

EuclideanDistance[u,v]

gives the Euclidean distance between vectors u and v.

Details

Examples

open allclose all

Basic Examples  (2)

Euclidean distance between two vectors:

In[1]:=
Click for copyable input
Out[1]=

Euclidean distance between numeric vectors:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Applications  (2)

Properties & Relations  (7)

See Also

SquaredEuclideanDistance  ManhattanDistance  ChessboardDistance  BrayCurtisDistance  CanberraDistance  Norm  DistanceMatrix  Nearest

Tutorials

Introduced in 2007
(6.0)