Expand description
Native dense-vector metric kernels and exact-search helpers.
The ANN index layer builds on these primitives so approximate indexes and exhaustive recall oracles share one definition of distance, tie-breaking, and vector validity.
Structs§
- Turbo
Quant BitWidth - Validated TurboQuant bit width.
- Turbo
Quant Blocked Codes - Block-major packed TurboQuant coordinate codes.
- Turbo
Quant Codebook - Deterministic scalar codebook for one TurboQuant vector dimension.
- Turbo
Quant Packed Codes - Row-major packed TurboQuant coordinate codes.
- Vector
Metric Query - Metric scorer bound to a single query vector.
- Vector
Search Hit - A single exact vector-search result.
- Vector
TopK - Bounded deterministic lower-is-better vector hit accumulator.
Enums§
- Archived
Vector Metric - An archived
VectorMetric - Turbo
Quant Codebook Kind - Deterministic TurboQuant scalar codebook family.
- Turbo
Quant Codec Error - Errors returned by safe TurboQuant codec primitives.
- Vector
Metric - Distance metric for native dense vectors.
- Vector
Metric Resolver - The resolver for an archived
VectorMetric
Constants§
- TURBO_
QUANT_ BLOCK_ ROWS - Number of vector rows stored together in blocked TurboQuant code storage.
Functions§
- exact_
vector_ top_ k - Return the exact top-
knearest vector candidates. - vector_
squared_ norm - Return
sum(component * component)for a validated vector.
Type Aliases§
- Turbo
Quant Codec Result - Result type for TurboQuant codec operations.