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

  PUBLIC
RealSparseHist1dC::RealSparseHist1dC(RealT)
RealSparseHist1dC::Copy(void) const
RealSparseHist1dC::Vote(RealT)
RealSparseHist1dC::Unvote(RealT)
RealSparseHist1dC::N(void) const
RealSparseHist1dC::Mean(void) const
RealSparseHist1dC::Variance(void) const
RealSparseHist1dC::MeanCo(void) const
RealSparseHist1dC::WriteTable(ostream &) const
RealBinTable1dC::Scale(RealT) const
RealBinTable1dC::Bin(RealT)
RealBinTable1dC::operator[](RealT)
RealBinTable1dC::Empty(void)
RealBinTable1dC::IsEmpty(void) const
RealBinTable1dC::BinSize(void) const
RealBinTable1dC::BinCentre(RealT) const
RealBinTable1dC::SetBinSize(RealT)
RealBinTable1dC::Copy(void) const
RealSparseHist1dC
 
Sparse 1d histogram.
 
include "amma/RealSparHist1d.hh"
User Level:Default
Library:SparHist
Example:exBnd.cc
Section:Statistics.Histograms
In Scope:std

Parent Classes:

Methods:
RealSparseHist1dC(RealT binsize = 1)
Default Constructor.

RealSparseHist1dC Copy() const
Make a copy of the table.

IntT Vote(RealT bin)
Increment bin in accumulator.

IntT Unvote(RealT bin)
Decrement bin in accumulator.

RealT N() const
Total number of votes.

RealT Mean() const
Calculate mean of histogram.

RealT Variance() const
Calculate variance of histogram.

MeanCovariance1dC MeanCo() const
Calculate mean and co-variance for histogram.

BooleanT WriteTable(ostream & out) const
Write sorted table of results.
the table will be key, count, sorted on key. this will return false if out stream in bad. if the table is empty and 0 0 will be written.

#include "amma/RealBinTable1d.hh"
DiscRealC Scale(RealT ind) const
Scale and descritise an input point.

IntC & Bin(RealT pnt)
Access a bin.

IntC & operator[](RealT nt)
Access a bin.

void Empty(void)
Remove all items from table.

BooleanT IsEmpty() const
Is table empty ?

RealT BinSize() const
Get size of bins.

RealT BinCentre(RealT at) const
Get centre of bin containing point at.

void SetBinSize(RealT bs)
Set the bin size.
Notes: This can only be done when the table is empty!

Any iterators that point to this table will use the OLD bin size.


RealBinTable1dC Copy() const
Make a copy of the table.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001