CosineDistance

CosineDistance[u,v]

gives the angular cosine distance between vectors u and v.

Details

Examples

open allclose all

Basic Examples  (2)

Cosine distance between two vectors:

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

Cosine distance between numeric vectors:

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

Scope  (2)

Applications  (1)

Properties & Relations  (3)

See Also

CorrelationDistance

Tutorials

Introduced in 2007
(6.0)