Median estimation based on the density estimator. More...
#include <statistics_fwd.hpp>


Public Types | |
| typedef numeric::functional::fdiv < Sample, std::size_t > ::result_type | float_type |
| typedef std::vector< std::pair < float_type, float_type > > | histogram_type |
| typedef iterator_range < typename histogram_type::iterator > | range_type |
| typedef float_type | result_type |
| typedef mpl::false_ | is_droppable |
Public Member Functions | |
| template<typename Args > | |
| with_density_median_impl (Args const &args) | |
| void | operator() (dont_care) |
| template<typename Args > | |
| result_type | result (Args const &args) const |
| detail::void_ | add_ref (dont_care) |
| detail::void_ | drop (dont_care) |
| detail::void_ | on_drop (dont_care) |
Median estimation based on the density estimator.
The algorithm determines the bin in which the
-th sample lies,
being the total number of samples. It returns the approximate horizontal position of this sample, based on a linear interpolation inside the bin.
| typedef numeric::functional::fdiv<Sample, std::size_t>::result_type boost::accumulators::impl::with_density_median_impl< Sample >::float_type |
| typedef std::vector<std::pair<float_type, float_type> > boost::accumulators::impl::with_density_median_impl< Sample >::histogram_type |
|
inherited |
| typedef iterator_range<typename histogram_type::iterator> boost::accumulators::impl::with_density_median_impl< Sample >::range_type |
| typedef float_type boost::accumulators::impl::with_density_median_impl< Sample >::result_type |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |