Skip to main content

update_avg

Function update_avg 

Source
fn update_avg(words: &mut [f64], sample: f64)
Expand description

avg’s update: sums directly until the running sum would overflow, then switches to an incremental mean, whose flag is the fourth word.