pub fn slice_mul(a: &[f64], b: &[f64]) -> Result<Vec<f64>, String>
Element-wise product of two equal-length slices.