Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

H_Statistics.h

Go to the documentation of this file.
00001 #ifndef _H_STATISTICS_H_
00002 #define _H_STATISTICS_H_ 1
00003 
00004 
00005 #include "HTL/I_Histo.h"
00006 #include "HTL/H_Bin_Helper.h"
00007 #include <math.h>
00008 
00010 class H_Statistics
00011 {
00012 protected:
00013   H_Statistics() {}
00014   virtual ~H_Statistics() {}
00015 public:
00018   static Size extra_entries_count( const I_Histo &a_histo );
00019 
00021         static Size in_range_entries_count( const I_Histo &a_histo );
00022 
00024         static Size entries_count( const I_Histo &a_histo );
00025 
00028   static double mean( const I_Histo &a_histo, Index p = 0 );
00029 
00036   static double rms( const I_Histo &a_histo, double a_mean, Index p = 0 );
00037 
00040   static double rms( const I_Histo &a_histo, Index p = 0 )
00041     { return rms( a_histo, mean(a_histo, p), p ); }
00042 
00044   static double nequival( const I_Histo &a_histo );
00045 
00046 };
00047 
00048 #endif // _H_STATISTICS_H_
00049 


Anaphe documentation generated by Doxygen (www.doxygen.org)