24#ifndef quantlib_discrete_integrals_hpp
25#define quantlib_discrete_integrals_hpp
1-D array used in linear algebra.
1-D array used in linear algebra.
Real operator()(const Array &x, const Array &f) const
DiscreteSimpsonIntegrator(Size evaluations)
Real integrate(const ext::function< Real(Real)> &f, Real a, Real b) const override
Real operator()(const Array &x, const Array &f) const
DiscreteTrapezoidIntegrator(Size evaluations)
Real integrate(const ext::function< Real(Real)> &f, Real a, Real b) const override
template class providing a null value for a given type.
ext::function< Real(Real)> b
std::size_t Size
size of a container
Integrators base class definition.