Boost C++ Libraries 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 for the latest Boost documentation.

Struct template extended_p_square_quantile_impl

boost::accumulators::impl::extended_p_square_quantile_impl — Quantile estimation using the extended algorithm for weighted and unweighted samples.


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

template<typename Sample, typename Impl1, typename Impl2> 
struct extended_p_square_quantile_impl {
  // types
  typedef numeric::functional::average< Sample, std::size_t >::result_type float_type; 
  typedef std::vector< float_type >                                        array_type; 
  typedef unspecified                                                      range_type; 
  typedef float_type                                                       result_type;

  // construct/copy/destruct
  template<typename Args> extended_p_square_quantile_impl(Args const &);

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


Uses the quantile estimates calculated by the extended algorithm to compute intermediate quantile estimates by means of quadratic interpolation.

extended_p_square_quantile_impl public construct/copy/destruct

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

extended_p_square_quantile_impl public member functions

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