Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template p_square_cumulative_distribution_impl

boost::accumulators::impl::p_square_cumulative_distribution_impl — Histogram calculation of the cumulative distribution with the algorithm.

Synopsis

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

template<typename Sample> 
struct p_square_cumulative_distribution_impl : public  {
  // types
  typedef  ;    
  typedef                                      ;    
  typedef             ;
  typedef            ;   

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

  // public member functions
  template<typename Args>  ();
  template<typename Args>  () ;
  template<typename Archive>  (, );
};

Description

A histogram of the sample cumulative distribution is computed dynamically without storing samples based on the algorithm. The returned histogram has a specifiable amount (num_cells) equiprobable (and not equal-sized) cells.

For further details, see

R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.

p_square_cumulative_distribution_impl public construct/copy/destruct

  1. template<typename Args> 
      ( args);

p_square_cumulative_distribution_impl public member functions

  1. template<typename Args>  ( args);
  2. template<typename Args>  ( args) ;
  3. template<typename Archive> 
       ( ar,  file_version);

PrevUpHomeNext