Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2007-02-17 00:12:48


On 16 Feb 2007, at 19:47, Gennadiy Rozental wrote:

>
> "Matthias Troyer" <troyer_at_[hidden]> wrote in message
> news:B503A931-963F-4F5B-8DCF-C6617D48EAAD_at_phys.ethz.ch...
>>
>> On 16 Feb 2007, at 19:24, Gennadiy Rozental wrote:
>>
>>>
>>> Anyway. IMO almost any solution would be good enough for me.
>>> v.update()
>>> would work either.
>>
>> Why is
>>
>> acc(v);
>>
>> a problem if
>>
>> v.update();
>>
>> is fine?
>
> I never said it's a problem. But from what understand it's completely
> different thing. acc(0) would be more close to v += 0; acc(v) is
> more like
> v *= 2;

Now I'm really confused. acc is the accumulator, recording features
like sum,min, max, mean, median, variance. In what sense is acc(0)
like v +=0 and acc(v) like v *= 2????


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk