pub fn dot<T: SimdOps>(a: &[T], b: &[T]) -> Result<T, SimdError>
Computes the dot product of two slices using runtime-dispatched SIMD.