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 for the latest Boost documentation.
PrevUpHomeNext

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.

Synopsis

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

template<typename Sample, typename Impl1, typename Impl2> 
struct extended_p_square_quantile_impl : public accumulator_base {
  // types
  typedef numeric::functional::fdiv< 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;
  template<typename Archive> void serialize(Archive &, const unsigned int);
};

Description

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;
  2. template<typename Archive> 
      void serialize(Archive & ar, const unsigned int file_version);

PrevUpHomeNext