I'm using boost accumulators to calculate quantile probability.
I have an accumulator_set acc, and I get the quantile using:
auto q = boost::accumulators::quantile( acc, boost::accumulators::quantile_probability = p )
with p with the required probability, for example 0.99
I need to know how many elements are greater than q in this accumulator_set.
I can get the total count of elements using boost::accumulators::count(acc),
but I cannot findout how to count elements greater than "q"
Does boost provides any way to do this? If not, is it possible to implement an extractor like count, that can receive "q" as parameter for do the job? Any example to use as a base?
Thanks