Skip to main content

weighted_mean

Function weighted_mean 

pub fn weighted_mean(
    values: &[f64],
    weights: &[f64],
) -> Result<f64, AverageError>