vnl_analytic_integrant.h
Go to the documentation of this file.
1 #ifndef VNL_ANALYTIC_INTEGRANT_
2 #define VNL_ANALYTIC_INTEGRANT_
3 // :
4 // \author Kongbin Kang
5 // \date Jan 13, 2005
6 // \brief a class to represent an analytic integrand
7 
8 #include "vnl_integrant_fnct.h"
9 #include "vnl/vnl_export.h"
10 
12 {
13  public:
14  vnl_analytic_integrant() = default;
15  ~vnl_analytic_integrant() override = default;
16 
17  // the function every derived class has to implement, which is to evaluate
18  // the function value at point x
19  double f_(double /*x*/) override = 0;
20 };
21 
22 #endif
double f_(double) override=0
~vnl_analytic_integrant() override=default
the abstract class of 1D integrand function used in integral
vnl_analytic_integrant()=default