Skip to main content

accumulate

Function accumulate 

Source
pub fn accumulate(points: &mut [(f64, f64)], how: Cumulative)
Expand description

Make points cumulative along X: a running sum, or returns compounded (each value a rate; the point is what 1 grew to, less 1).