Expand description
Spatial similarity: dot products, angular (cosine), and Euclidean distances.
This module provides:
Traits§
- Angular
- Computes the angular distance (cosine distance) between two vectors.
- Dot
- Computes the dot product (inner product) between two vectors.
- Euclidean
- Computes the Euclidean distance (L2) between two vectors.
- Roots
- Scalar square-root and reciprocal-square-root operations backed by NumKong’s exported kernels.
- Spatial
Similarity SpatialSimilaritybundles spatial distance metrics: Dot, Angular, and Euclidean.- VDot
- Computes the conjugating dot product.