
On 2013-06-14 01:02:35 +0200, Eric Niebler said:
On 6/13/2013 3:56 AM, Philipp Kraus wrote:
On 2013-06-11 15:09:40 +0200, Philipp Kraus said:
I try to create a complex accumulator. I would like to use an accumulator for a box plot with the whisker data ( http://en.wikipedia.org/wiki/Box_plot ).
This short example
#include
#include #include #include #include #include #include #include #include #include whoops, should be:
#include
#include
using namespace boost::accumulators;
typedef accumulator_set
accumulator_t;
int main() { boost::array
probs = {0.25, 0.50, 0.75}; accumulator_t acc(extended_p_square_probabilities = probs); } compiles only, if I comment the //* line, but with the quantil tag the compiler creates this errors:
<snip>
The errors went away for me when I included the correct header. You might check the docs for the statistics you're using. The docs aren't great, but they at least tell you what headers to include.
http://www.boost.org/doc/libs/1_53_0/doc/html/accumulators/user_s_guide.html...
I can solve the problem :-P
I have include these headers:
#include