Skip to main content

dot_f32

Function dot_f32 

Source
pub fn dot_f32(a: &[f32], b: &[f32]) -> f32
Expand description

Computes the dot product of equal-length f32 vectors.

Callers must pre-validate equal lengths; the hot path performs a debug_assert! check only. SIMD accumulation may reassociate additions.