Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
RealHistogram1dC::RealHistogram1dC(RealT,RealT,RealT)
RealHistogram1dC::RealHistogram1dC(const RealHistogram1dC &)
RealHistogram1dC::StartX(const IndexT) const
RealHistogram1dC::MidX(const IndexT) const
RealHistogram1dC::Vote(RealT)
RealHistogram1dC::CheckedVote(RealT)
RealHistogram1dC::Modes(RealT) const
RealHistogram1dC::operator<<(ostream &,const RealHistogram1dC &)
RealHistogram1dC
 
RealHistogram1dC represents a histogram of real scalar values.
 
include "amma/ReHist1d.hh"
User Level:Default
Library:Mstat
Example:exBnd.cc
Section:Statistics.Histograms
In Scope:std

Comments:
It is possible set up its resolution, eg. the size of bins. The histogram works on the interval Parent Classes:

Variables:
RealT minValue;
minimum accepted value

RealT maxValue;
a value just greater than maximum accepted value

RealT delta;
the size of bins

Methods:
RealHistogram1dC(RealT min = 1.0,RealT max = 10.0,RealT resolution = 1.0)
Creates a histogram with all bins initialized to be zero. The histogram is prepared to accept values in the interval

RealHistogram1dC(const RealHistogram1dC & vv)
Another access to the integer array 'vv' Access to the object. ---------------------

RealT StartX(const IndexT i) const
Returns the value of the beginning of the bin with the index 'i'.

RealT MidX(const IndexT i) const
Returns the value of the center of the bin with the index 'i'. Updating of histogram. ----------------------

void Vote(RealT value)
Updates the histogram by adding another 'value'. The value must be inside the interval

void CheckedVote(RealT value)
Upddates the histogram by adding another 'value'. The values outside the interval are ignored. Special operators. ------------------

HistModes1dC Modes(RealT minModeDistance = 1.0) const
Returns the list of modes of the histogram.

ostream & operator<<(ostream & s,const RealHistogram1dC & arr)


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001