2 Aug
2009
2 Aug
'09
3:45 p.m.
Archie14 wrote:
I am trying to use accumulator to calculate statistics in "rolling window", traversing the data. I searched accumulators library for a method to remove first N elements from the accumulator and did not find one.
Question: is is possible to remove first N values from the accumulator?
No, but there are some rolling window statistical accumulators: rolling_sum and rolling_mean. -- Eric Niebler BoostPro Computing http://www.boostpro.com