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

  PUBLIC
MeanCovarianceNdC::MeanCovarianceNdC(const SizeT)
MeanCovarianceNdC::MeanCovarianceNdC(const VectorC &)
MeanCovarianceNdC::MeanCovarianceNdC(const MeanNdC &)
MeanCovarianceNdC::MeanCovarianceNdC(LongIntT,const VectorC &,const MatrixC &)
MeanCovarianceNdC::MeanCovarianceNdC(const MeanCovarianceNdC &)
MeanCovarianceNdC::operator=(const MeanCovarianceNdC &)
MeanCovarianceNdC::Copy(void) const
MeanCovarianceNdC::MeanCovarianceNdC(const Array1dC &)
MeanCovarianceNdC::MeanCovarianceNdC(const ListC &)
MeanCovarianceNdC::Number(void) const
MeanCovarianceNdC::Mean(void) const
MeanCovarianceNdC::MeanNd(void) const
MeanCovarianceNdC::Covariance(void) const
MeanCovarianceNdC::SetZero(void)
MeanCovarianceNdC::operator+=(const VectorC &)
MeanCovarianceNdC::operator-=(const VectorC &)
MeanCovarianceNdC::operator+=(const MeanNdC &)
MeanCovarianceNdC::operator-=(const MeanNdC &)
MeanCovarianceNdC::operator+=(const MeanCovarianceNdC &)
MeanCovarianceNdC::operator-=(const MeanCovarianceNdC &)
MeanCovarianceNdC::Add(const VectorC &,const VectorC &)
MeanCovarianceNdC::Remove(const VectorC &,const VectorC &)
MeanCovarianceNdC::SetSum(const MeanCovarianceNdC &,const MeanCovarianceNdC &)
MeanCovarianceNdC::operator>>(istream &,MeanCovarianceNdC &)
MeanCovarianceNdC
 
Mean and covariance together in N-D space
 
include "amma/MeanCoNd.hh"
User Level:Default
Library:MeanCov
Example:exMat2d.cc
Section:Geometry.N-D Statistics.N-D
In Scope:std

Comments:
The class MeanCovarianceNdC serves for computation of the mean and the covariance matrix of a set of N-dimensional data points. The object are able to share a memory with other objects.

Variables:
MeanNdC m;
The mean vector of this data set.

MatrixC cov;
the covariance matrix of this data set.

Methods:
MeanCovarianceNdC(const SizeT n)
Creates zero mean and zero covariance matrix representing the 'n'-dimensional set containing no data points.

MeanCovarianceNdC(const VectorC & point)
Creates the mean vector and zero covariance matrix representing the data set containing just one data point. The vector 'point' is shared.

MeanCovarianceNdC(const MeanNdC & mean)
Creates the mean vector and zero covariance matrix representing the data set represented by the 'mean'. The structure 'mean' is shared.

MeanCovarianceNdC(LongIntT n,const VectorC & mean,const MatrixC & cov)
Creates the mean vector and zero covariance matrix representing the data set containing 'n' points and represented by the 'mean' and the covariance matrix 'cov'. Both 'mean' and 'cov' are shared.

MeanCovarianceNdC(const MeanCovarianceNdC & meanCov)
Copy constructor.

const MeanCovarianceNdC & operator=(const MeanCovarianceNdC & meanCov)
Assigment.

MeanCovarianceNdC Copy() const
Returns a new physical copy of this object.

MeanCovarianceNdC(const Array1dC<VectorC> & data)
DO not use this anymore.

MeanCovarianceNdC(const ListC<VectorC> & data)
DO not use this anymore. Information about an object ---------------------------

LongIntT Number() const
Returns the number of data points which are represented by this object.

const VectorC & Mean() const
Returns the mean vector of data points which are represented by this object.

const MeanNdC & MeanNd() const
Returns the mean statistics of data points which are represented by this object.

const MatrixC & Covariance() const
Returns the covariance matrix of data points which are represented by this object. Object modification -------------------

const MeanCovarianceNdC & SetZero()
Total initialization of this object resulting in the representation the empty set of data points.

const MeanCovarianceNdC & operator+=(const VectorC & point)
Adds one point to the set of data points.

const MeanCovarianceNdC & operator-=(const VectorC & point)
Removes one point from the set of data points. Be carefull to remove a point which was already added to the set, otherwise the representation will not describe a real set.

const MeanCovarianceNdC & operator+=(const MeanNdC & mean)
Adds a number of data poits represented by the 'mean' and zero covariance matrix to this set.

const MeanCovarianceNdC & operator-=(const MeanNdC & mean)
Removes a number of data poits represented by the 'mean' and zero covariance matrix from this set. Be carefull to remove points which were already added to the set, otherwise the representation will not describe a real set.

const MeanCovarianceNdC & operator+=(const MeanCovarianceNdC & meanCov)
Adds a number of data points represented by the 'meanCov' structure to this set.

const MeanCovarianceNdC & operator-=(const MeanCovarianceNdC & meanCov)
Removes a number of data points represented by the 'meanCov' structure from this set. Be carefull to remove points which were already added to the set, otherwise the representation will not describe a real set.

const MeanCovarianceNdC & Add(const VectorC & point,const VectorC & var)
Updates the mean and the covariance matrix by adding one N-d point whose coordinates are known with the error described by the diagonal convariance matrix represented byt the vector 'var'.

const MeanCovarianceNdC & Remove(const VectorC & point,const VectorC & var)
Updates the mean and the covariance matrix by removing one N-d point whose coordinates are known with the error described by the diagonal convariance matrix represented byt the vector 'var'. Be carefull to remove the point which was already added to the set, otherwise the representation will not describe a real set.

const MeanCovarianceNdC & SetSum(const MeanCovarianceNdC & meanCov1,const MeanCovarianceNdC & meanCov2)
This object is set to be the union of two set of data points 'meanCov1' and 'meanCov2'.

istream & operator>>(istream & inS,MeanCovarianceNdC & meanCov)


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