Cos(x, y) = x . y / ||x|| * ||y||
If x and y are normalized:
Cos(x, y) = x . y
It also isn't a distance...
Reply on news.ycombinator.com