Boost logo

Boost Users :

Subject: Re: [Boost-users] [Accumulators] Retract samples
From: Alex Hagen-Zanker (ahh34_at_[hidden])
Date: 2010-12-24 03:59:47


On 23/12/2010 15:40, Matthias Troyer wrote:
> On Dec 23, 2010, at 1:00 PM, Alex Hagen-Zanker wrote:
>
>> Dear all,
>>
>> I am considering using Boost Accumulators for a moving window calculation. When a window would step from left to right, it should add the sample on the right side of the window and retract the sample on the left side on each step.
>>
>> For weighted accumulators, it might be possible to use negative weights. But, since the accumulators do not appear to be intended for this use, there may be implementation details that invalidate the use of negative weights.
>>
>> Is there a recommended way to retract samples in Boost Accumulators?
>>
>> Thanks, Alex
> Hi Alex,
>
> This is not the intended use of the accumulator library.
>
> Matthias
>
I was afraid so. It is a pity because I require so much of the
functionality that is already in Boost Accumulators.
Thanks, Alex


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net