User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Statistics - MeanC
 

  PUBLIC
MeanC::MeanC(const SArray1dC &)
MeanC::MeanC(void)
MeanC::MeanC(SizeT,RealT)
MeanC::Number(void) const
MeanC::Mean(void) const
MeanC::operator +=(const MeanC &)
MeanC::operator -=(const MeanC &)
MeanC::operator +=(const RealT &)
MeanC::operator -=(const RealT &)

   MeanC   
 
Mean a single variable.
 
include "Ravl/Mean.hh"
User Level:Normal
Library:RavlMath
In Scope:RavlN

Variables:
Methods:
MeanC(const SArray1dC<RealT> & data)
Calculate the mean and variance from an array of numbers.

MeanC()
Default constructor.

MeanC(SizeT nn,RealT nmean)
Constructor.

SizeT Number() const
Access the number of samples.

RealT Mean() const
Access the mean.

MeanC & operator +=(const MeanC & mv)
Add another Mean to this one.

MeanC & operator -=(const MeanC & mv)
Remove another Mean from this one.

MeanC & operator +=(const RealT & mv)
Add a sample to this one.

MeanC & operator -=(const RealT & mv)
Remove a sample from this one.


Documentation by CxxDoc: Tue Aug 13 09:59:02 2002