Function dot_product

Source
pub fn dot_product<T>(a: &Vec<T>, b: &Vec<T>) -> T
where T: Mul<Output = T> + Sum + Copy,