#include <Integral.h>
Classes | |
struct | function |
Public Member Functions | |
NumericalIntegral (const F &f, const Integrator &integrator) | |
double | operator() (double min, double max) const |
Private Attributes | |
function | f_ |
Integrator | integrator_ |
Definition at line 33 of file Integral.h.
funct::NumericalIntegral< Integrator, F, X >::NumericalIntegral | ( | const F & | f, |
const Integrator & | integrator | ||
) | [inline] |
Definition at line 34 of file Integral.h.
: f_(f), integrator_(integrator) { }
double funct::NumericalIntegral< Integrator, F, X >::operator() | ( | double | min, |
double | max | ||
) | const [inline] |
Definition at line 36 of file Integral.h.
References funct::NumericalIntegral< Integrator, F, X >::f_, and funct::NumericalIntegral< Integrator, F, X >::integrator_.
{ return integrator_(f_, min, max); }
function funct::NumericalIntegral< Integrator, F, X >::f_ [private] |
Definition at line 48 of file Integral.h.
Referenced by funct::NumericalIntegral< Integrator, F, no_var >::operator()(), and funct::NumericalIntegral< Integrator, F, X >::operator()().
Integrator funct::NumericalIntegral< Integrator, F, X >::integrator_ [private] |
Definition at line 49 of file Integral.h.
Referenced by funct::NumericalIntegral< Integrator, F, no_var >::operator()(), and funct::NumericalIntegral< Integrator, F, X >::operator()().