Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template median_impl

boost::accumulators::impl::median_impl — Median estimation based on the quantile estimator.

Synopsis

// In header: <boost/accumulators/statistics/median.hpp>

template<typename Sample> 
struct median_impl {
  // types
  typedef numeric::functional::average< Sample, std::size_t >::result_type result_type;

  // construct/copy/destruct
  median_impl(dont_care);

  // public member functions
  template<typename Args> result_type result(Args const &) const;
};

Description

The algorithm is invoked with a quantile probability of 0.5.

median_impl public construct/copy/destruct

  1. median_impl(dont_care);

median_impl public member functions

  1. template<typename Args> result_type result(Args const & args) const;

PrevUpHomeNext