[][src]Function simple_ml::dot_product

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