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

  PUBLIC
MeanNdC::MeanNdC(const SizeT)
MeanNdC::MeanNdC(const PointNdC &)
MeanNdC::MeanNdC(LongIntT,const PointNdC &)
MeanNdC::MeanNdC(const MeanNdC &)
MeanNdC::operator=(const MeanNdC &)
MeanNdC::Copy(void) const
MeanNdC::Number(void) const
MeanNdC::MeanNd(void) const
MeanNdC::MeanNd(void)
MeanNdC::Mean(void) const
MeanNdC::SetZero(void)
MeanNdC::Set(LongIntT,const PointNdC &)
MeanNdC::operator+=(const PointNdC &)
MeanNdC::operator-=(const PointNdC &)
MeanNdC::operator+=(const MeanNdC &)
MeanNdC::operator-=(const MeanNdC &)
MeanNdC::operator>>(istream &,MeanNdC &)
MeanNdC
 
Mean in N-D space
 
include "amma/MeanNd.hh"
User Level:Default
Library:MeanCov
Example:exMat2d.cc
Section:Statistics.N-D
In Scope:std

Comments:
The class MeanNdC serves for computation of the mean of a set of N-dimensional data points. The class is implemented as a bid object able to share memory with points.

Parent Classes: Variables:
LongIntT number;
The number of points represented by mean object.

Methods:
MeanNdC(const SizeT dim)
Creates zero mean representing the 'n'-dimensional set containing no data points.

MeanNdC(const PointNdC & point)
Creates the mean vector representing the data set containing just one data point. This object is attached to the memory of 'point'.

MeanNdC(LongIntT n,const PointNdC & mean)
Creates the mean vector representing the data set containing 'n' points and represented by the 'mean'. This object is attached to the memory of 'mean'.

MeanNdC(const MeanNdC & mean)
Copy constructor. In fact it creates only another handler.

const MeanNdC & operator=(const MeanNdC & mean)
Assigment.

MeanNdC Copy() const
Returns a new physical copy of this object. Information about an object ---------------------------

LongIntT Number() const
Returns number of points which were added into the object.

const MeanNdC & MeanNd() const
Access to the const object.

MeanNdC & MeanNd()
Access to the object.

const PointNdC & Mean() const
Returns the current value of the mean. Object modification -------------------

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

MeanNdC & Set(LongIntT n,const PointNdC & m)
Sets the new content of mean object. It will represent 'n' points with the mean location 'm'.

MeanNdC & operator+=(const PointNdC & point)
Adds a point to the set.

MeanNdC & operator-=(const PointNdC & point)
Removes a point from the set. Be carefull to remove a point which was already added to the set, otherwise the representation will not describe a real set.

MeanNdC & operator+=(const MeanNdC & mean)
Adds the whole set of points represented by the mean object 'm'.

MeanNdC & operator-=(const MeanNdC & mean)
Removes the whole set of points represented by the mean object 'm'. Be carefull to remove points which was already added to the set, otherwise the representation will not describe a real set.

istream & operator>>(istream & s,MeanNdC & mean)


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