COSINE

1 − cos(q, v), from 0 for vectors pointing the same way to 2 for opposite ones; the vectors' lengths don't matter. A zero vector has no direction, so it's rejected under this metric.

Properties

Link copied to clipboard
Link copied to clipboard