pub fn dot<T>(a: &[T], b: &[T]) -> Twhere T: Mul<Output = T> + Add<Output = T> + Zero + Copy,
Computes the dot-product of a and b.
a
b