Skip to main content

sum_known

Function sum_known 

Source
fn sum_known(rates: impl Iterator<Item = Option<f64>>) -> Option<f64>
Expand description

A sum of rates, or None when none of them is known yet (a first sample), never a made-up 0.