...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::accumulators::impl::coherent_tail_mean_impl — Estimation of the coherent tail mean based on order statistics (for both left and right tails)
// In header: <boost/accumulators/statistics/tail_mean.hpp> template<typename Sample, typename LeftRight> struct coherent_tail_mean_impl : public accumulator_base { // types typedef numeric::functional::fdiv< Sample, std::size_t >::result_type float_type; typedef float_type result_type; // construct/copy/destruct coherent_tail_mean_impl(dont_care); // public member functions template<typename Args> result_type result(Args const &) const; template<typename Archive> void serialize(Archive &, const unsigned int); };