...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::tail_variate_means_impl — Estimation of the absolute and relative tail variate means (for both left and right tails)
// In header: <boost/accumulators/statistics_fwd.hpp> template<typename Sample, typename Impl, typename LeftRight, typename VariateTag> struct tail_variate_means_impl : public accumulator_base { // construct/copy/destruct tail_variate_means_impl(dont_care); // public member functions template<typename Args> result_type result(Args const &) const; template<typename Archive> void serialize(Archive &, const unsigned int); };
For all -th variates associated to the largest samples (or the smallest samples in case of the left tail), the absolute tail means are computed and returned as an iterator range. Alternatively, the relative tail means are returned, which are the absolute tail means normalized with the (non-coherent) sample tail mean .