Expand description
Dot product distance metric (for maximum inner product search).
Returns negative dot product so that smaller values = more similar (consistent with other distance metrics where lower = better).
Structsยง
- DotProduct
Distance - Negative dot product distance: $d(a, b) = -a \cdot b$.