Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

stddev.h

Go to the documentation of this file.
00001 
00002 #ifndef STDDEV_H_
00003 #define STDDEV_H_
00004 
00035 class stddev
00036 {
00037 private:
00038   stddev( const stddev &rhs );
00039 
00040   double mean_;
00041   double calc_mean_( const double *v, const size_t N);
00042 public:
00043   stddev() { mean_ = 0;}
00044   ~stddev() {}
00045 
00046   double mean() { return mean_; }
00048   double sd( const double *v, 
00049              const size_t N );
00050 
00052   double sd( const double *v, 
00053              const size_t N, 
00054              const double mean );
00055 };
00056 
00057 #endif

Generated at Tue May 27 21:56:16 2003 for Wavelet compression, determinism and time series forecasting by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001