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

  PUBLIC
IntHistogram1dC::IntHistogram1dC(IntT)
IntHistogram1dC::IntHistogram1dC(const IntHistogram1dC &)
IntHistogram1dC::Vote(IntT)
IntHistogram1dC::DVote(IndexT)
IntHistogram1dC::CheckedVote(IntT)
IntHistogram1dC::MinMax(void) const
IntHistogram1dC::Mean(void) const
IntHistogram1dC::LinSums(void) const
IntHistogram1dC::operator<<(ostream &,const IntHistogram1dC &)
IntHistogram1dC
 
1 dimensional histogram integer indexed
 
include "amma/InHist1d.hh"
User Level:Default
Library:Mstat
Example:exBnd.cc
Section:Statistics.Histograms
In Scope:std

Comments:
The class IntHistogram1dC represents a histogram of integer scalar values. It is possible set up a number of bins. The histogram works on the interval <0, number_of_bins -1).

Parent Classes: Variables:
IntT minValue;
The minimum accepted value.

IntT maxValue;
the maximum accepted value.

Methods:
IntHistogram1dC(IntT n = 10)
Creates a histogram with all bins initialized to be zero. The histogram is prepared to accept values in the interval <0, n-1>.

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

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

void DVote(IndexT i)
Updates the histogram by adding another 'value' directly to the bin with the index 'i'.

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

IntMinMax1dC MinMax() const
Returns the extremal values of the histgram. Mean and variance -----------------

Mean1dC Mean() const
Returns the sample mean of values registered in the histogram.

LinearSums1dC LinSums() const
Returns the sums of the values represented by this histogram.

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


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