00001 #ifndef VNL_ANALYTIC_INTEGRANT_ 00002 #define VNL_ANALYTIC_INTEGRANT_ 00003 // : 00004 // \author Kongbin Kang 00005 // \date Jan 13, 2005 00006 // \brief a class to represent an analytic integrand 00007 00008 #include "vnl_integrant_fnct.h" 00009 00010 class vnl_analytic_integrant : public vnl_integrant_fnct 00011 { 00012 public: 00013 vnl_analytic_integrant() {} 00014 ~vnl_analytic_integrant() {} 00015 00016 // the function every derived class has to implement, which is to evaluate 00017 // the function value at point x 00018 virtual double f_(double /*x*/) = 0; 00019 }; 00020 00021 #endif