31#if defined(Histogram_RECURSES) 
   32#error Recursive header files inclusion detected in Histogram.h 
   35#define Histogram_RECURSES
 
   37#if !defined Histogram_h 
   44#include "DGtal/base/Common.h" 
   45#include "DGtal/base/Clone.h" 
   46#include "DGtal/math/CBinner.h" 
   47#include "DGtal/kernel/CEuclideanRing.h" 
   48#include "DGtal/math/Statistic.h" 
   63  template <
typename TQuantity>
 
  143  template < 
typename TQuantity,
 
  144             typename TBinner = RegularBinner< TQuantity > >
 
  157    typedef typename Binner::Bin 
Bin;
 
  217    template <
typename TInputIterator>
 
  218    void addValues( TInputIterator it, TInputIterator itE );
 
 
  329  template <
typename TQuantity, 
typename TBinner>
 
  338#include "DGtal/math/Histogram.ih" 
  345#undef Histogram_RECURSES 
Aim: This class encapsulates its parameter class to indicate that the given parameter is required to ...
 
Aim: Represents a typical histogram in statistics, which is a discrete estimate of the probability di...
 
Container::const_iterator ConstIterator
 
Size accumulation(Bin b) const
 
void addValues(TInputIterator it, TInputIterator itE)
 
void init(Bin nbBins, const Statistic< Quantity > &stat)
 
void selfDisplay(std::ostream &out) const
 
Histogram & operator=(const Histogram &other)
 
std::vector< Size > Container
 
void init(Formula formula, const Statistic< Quantity > &stat)
 
BOOST_CONCEPT_ASSERT((concepts::CEuclideanRing< TQuantity >))
 
void addValue(Quantity q)
 
const Binner * myBinner
The binner that places quantities into a bin.
 
Container myCumulativeHistogram
The cumulative histogram data.
 
BOOST_STATIC_ASSERT((boost::is_same< TQuantity, typename TBinner::Quantity >::value))
 
Histogram(const Histogram &other)
 
void init(Clone< Binner > binner)
 
Container myHistogram
The histogram data.
 
Bin bin(Quantity q) const
 
BOOST_CONCEPT_ASSERT((concepts::CBinner< TBinner >))
 
Histogram< Quantity, Binner > Self
 
Aim: This class processes a set of sample values for one variable and can then compute different stat...
 
DGtal is the top-level namespace which contains all DGtal functions and types.
 
boost::uint32_t uint32_t
unsigned 32-bit integer.
 
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
 
boost::uint64_t uint64_t
unsigned 64-bit integer.
 
Aim: The traits class for all models of Cinteger.
 
Aim: Represents an elementary functor that partitions quantities into regular intervals,...
 
RegularBinner(const Quantity &min, const Quantity &max, Bin n)
 
RegularBinner< Quantity > Self
 
Bin operator()(const Quantity &q) const
 
Aim: Represents an object that places a quantity into a bin, i.e. a functor that associates a natural...
 
Aim: Defines the mathematical concept equivalent to a unitary commutative ring with a division operat...