Function dot_product_simd

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

Compute the dot product of two float slices using SIMD.

ยงPanics

Panics if a.len() != b.len().