Computing the mean value of a discretely sampled signal.  
 More...
#include <math/gzmath.hh>
Inherits SignalStatistic.
 | 
| virtual size_t  | Count () const | 
|   | Get number of data points in measurement.  More...
  | 
|   | 
| virtual void  | InsertData (const double _data) | 
|   | Add a new sample to the statistical measure.  More...
  | 
|   | 
| virtual void  | Reset () | 
|   | Forget all previous data.  More...
  | 
|   | 
| virtual std::string  | ShortName () const | 
|   | Get a short version of the name of this statistical measure.  More...
  | 
|   | 
| virtual double  | Value () const | 
|   | Get the current value of the statistical measure.  More...
  | 
|   | 
Computing the mean value of a discretely sampled signal. 
 
§ Count()
  
  
      
        
          | virtual size_t Count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
Get number of data points in measurement. 
- Returns
 - Number of data points in measurement. 
 
 
 
§ InsertData()
  
  
      
        
          | virtual void InsertData  | 
          ( | 
          const double  | 
          _data | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Add a new sample to the statistical measure. 
- Parameters
 - 
  
    | [in] | _data | New signal data point.  | 
  
   
Implements SignalStatistic.
 
 
§ Reset()
Forget all previous data. 
 
 
§ ShortName()
  
  
      
        
          | virtual std::string ShortName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Get a short version of the name of this statistical measure. 
- Returns
 - "mean" 
 
Implements SignalStatistic.
 
 
§ Value()
  
  
      
        
          | virtual double Value  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Get the current value of the statistical measure. 
- Returns
 - Current value of the statistical measure. 
 
Implements SignalStatistic.
 
 
§ dataPtr
  
  
      
        
          | SignalStatisticPrivate* dataPtr | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: