27#ifndef quantlib_piecewise_integral_hpp
28#define quantlib_piecewise_integral_hpp
41 std::vector<Real> criticalPoints,
42 bool avoidCriticalPoints =
true);
96 for (
auto x = a0; x < b0; ++x) {
Real integrate_h(const ext::function< Real(Real)> &f, Real a, Real b) const
Real integrate(const ext::function< Real(Real)> &f, Real a, Real b) const override
std::vector< Real > criticalPoints_
const ext::shared_ptr< Integrator > integrator_
floating-point comparisons
ext::function< Real(Real)> b
Integrators base class definition.
bool close_enough(const Quantity &m1, const Quantity &m2, Size n)
Maps shared_ptr to either the boost or std implementation.