
10 Dec
2007
10 Dec
'07
6:01 p.m.
Olivier Tournaire wrote:
Hi all,
I am trying to use boost::accumulators lib and I would appreciate some help. I do not know how to use the tag::density. How do I use :
accumulator_set<double, tag::density > angular_acc;
Have a look at the docs: http://boost-sandbox.sourceforge.net/libs/accumulators/doc/html/index.html That should be: accumulator_set<double, features<tag::density> > angular_acc;
and set
density::cache_size density::num_bins
To have for example 10 subdivisions between -pi and pi ? Then, how do I extract the results of the accumulation ?
The docs tell you all this, too. -- Eric Niebler Boost Consulting www.boost-consulting.com