#include <PhysicsTools/Utilities/interface/NumericalIntegration.h>
Public Member Functions | |
template<typename F> | |
double | operator() (const F &f, double min, double max) const |
TrapezoidIntegrator (unsigned int samples) | |
TrapezoidIntegrator () | |
Private Attributes | |
unsigned int | samples_ |
Definition at line 29 of file NumericalIntegration.h.
funct::TrapezoidIntegrator::TrapezoidIntegrator | ( | ) | [inline] |
funct::TrapezoidIntegrator::TrapezoidIntegrator | ( | unsigned int | samples | ) | [inline, explicit] |
double funct::TrapezoidIntegrator::operator() | ( | const F & | f, | |
double | min, | |||
double | max | |||
) | const [inline] |
Definition at line 34 of file NumericalIntegration.h.
References samples_, and funct::trapezoid_integral().
00034 { 00035 return trapezoid_integral(f, min, max, samples_); 00036 }
unsigned int funct::TrapezoidIntegrator::samples_ [private] |