Skip to main content

weighted_mean

Function weighted_mean 

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