Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Integrator.h

Go to the documentation of this file.
00001 
00015 #ifndef _INTEGRATOR_H_
00016 #define _INTEGRATOR_H_
00017 
00018 #include <TObject.h>
00019 
00020 class Integrator : public TObject 
00021 {
00022 public:
00023 
00024   static Integrator * Instance(void);
00025 
00026   double Simpson(const double * f, const int n, const double dx) const;
00027 
00028 private:
00029 
00030   Integrator();
00031   Integrator(const Integrator & intg);
00032   virtual ~Integrator();
00033 
00034   static Integrator * fInstance;
00035      
00036   ClassDef(Integrator, 0)
00037 };
00038 
00039 #endif   // _INTEGRATOR_H_

Generated on Mon Feb 15 11:06:48 2010 for loon by  doxygen 1.3.9.1