Skip to main content

mix_mean

Function mix_mean 

Source
pub fn mix_mean(parts: &[(f64, f64, f64)]) -> f64
Expand description

The time-weighted mean of a figure over a duty mix, (weight, figure, time) per duty: sum w x t / sum w t.