...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::non_coherent_weighted_tail_mean_impl — Estimation of the (non-coherent) weighted tail mean based on order statistics (for both left and right tails)
// In header: <boost/accumulators/statistics/weighted_tail_mean.hpp> template<typename Sample, typename Weight, typename LeftRight> struct non_coherent_weighted_tail_mean_impl : public accumulator_base { // types typedef numeric::functional::multiplies< Sample, Weight >::result_type weighted_sample; typedef numeric::functional::fdiv< Weight, std::size_t >::result_type float_type; typedef numeric::functional::fdiv< weighted_sample, std::size_t >::result_type result_type; // public member functions non_coherent_weighted_tail_mean_impl(dont_care); template<typename Args> result_type result(Args const &) const; };