|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class LinearSums1dC serves for computation of linear dependences
in 1D space.
Typedefs:
- typedef StdTypeC::RealT RealT;
-
The computed sums.
Variables:
Methods:
- LinearSums1dC()
-
The zero sums.
- LinearSums1dC(const LinearSums1dC & sums)
-
Copy constructor.
Updating.
---------
- void SetZero()
-
Initializies the sums.
- const LinearSums1dC & operator+=(const RealT & p)
-
Adds another data 'p' to the sums.
- const LinearSums1dC & Add(const RealT & nn,const RealT & v)
-
Adds 'nn' times the value 'v'.
Computation of statistics.
--------------------------
- RealT N() const
-
Returns the number of data have been entered into the sums.
- RealT Mean() const
-
Returns the mean value of the data.
- RealT Var() const
-
Returns the variance of the data.
- RealT SqrMean() const
-
Returns the mean value of data squares.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|