safe_dot_product

Function safe_dot_product 

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

Safe wrapper for dot product with bounds checking