pub fn dot(a: &[f32], b: &[f32]) -> Result<f32>Expand description
Raw inner product ⟨a,b⟩ (not negated), dispatched to the best tier.
Exposed for callers that need the similarity directly (e.g. PQ table
construction). Most search code wants inner_product.
§Errors
Returns Error::DimensionMismatch if a.len() != b.len().