Expand description
A library for incremental statistical computation inspired by Boost.Accumulators.
let k = [1.0, 2.0, 3.0, 4.0];
// Creates an accumulator that stores maximum of last 4 elements.
let mut x = simple_accumulator::SimpleAccumulator::new(&k, Some(4));
println!("{:?}", x);
x.push(5.0);
println!("{:?}", x);Structsยง
- Simple
Accumulator - Accumulator