Skip to main content

dot_product

Function dot_product 

Source
pub fn dot_product(a: &[f64], b: &[f64]) -> f64
Expand description

Computes the dot product of two f64 slices

ยงPanics

Panics if the slices have different lengths