Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Statistics - NormalC
 

  PUBLIC
NormalC::NormalC(void)
NormalC::NormalC(const MeanCovarianceC &,bool)
NormalC::Set(const MeanCovarianceC &,bool)
NormalC::Evaluate(const VectorC &)
NormalC::Size(void) const
NormalC::operator <<(ostream &,const NormalC &)
NormalC::operator >>(istream &,NormalC &)
NormalC::operator <<(BinOStreamC &,const NormalC &)
NormalC::operator >>(BinIStreamC &,NormalC &)

   NormalC   
 
Model a normal (or gauss) multi-dimensional distribution.
 
include "Ravl/Normal.hh"
Source file:Ravl/Math/Statistics/MeanCovariance/Normal.hh
User Level:Normal
Library:RavlMath
In Scope:RavlN

Variables:
RealT d;
Denominator of distribution.

VectorC mean;
Mean of distribution.

MatrixC invCov;
Inverse covariance.

Methods:
NormalC()
Default constructor.
Creates a distribution with zero dimensions.

NormalC(const MeanCovarianceC & meanCov,bool fixSingular = false)
Construct from a covariance matrix.

bool Set(const MeanCovarianceC & meanCov,bool fixSingular = false)
Setup the distribution.
Use the mean and covariance to setup the distribution. This may fail if the covariance is singular.

RealT Evaluate(const VectorC & vec)
Get value of normal distribution at 'vec'.

UIntT Size() const
Get the number of dimensions in the distribution.

ostream & operator <<(ostream & s,const NormalC & norm)

istream & operator >>(istream & s,NormalC & norm)

BinOStreamC & operator <<(BinOStreamC & s,const NormalC & norm)

BinIStreamC & operator >>(BinIStreamC & s,NormalC & norm)


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002