dot

Function dot 

Source
pub fn dot<T>(a: &[T], b: &[T]) -> T
where T: Mul<Output = T> + Add<Output = T> + Zero + Copy,
Expand description

Computes the dot-product of a and b.