SpECTRE
v2024.05.11
|
Integrates a 1D-function where singularities are known. More...
#include <GslQuadAdaptive.hpp>
Public Member Functions | |
template<typename IntegrandType > | |
double | operator() (IntegrandType &&integrand, const std::vector< double > &points, const double tolerance_abs, const double tolerance_rel=0.) const |
Integrates a 1D-function where singularities are known.
The algorithm for "IntegrableSingularitiesKnown" uses user-defined subintervals given by a vector of doubles points
, where each element denotes an interval boundary.