|
SpECTRE
v2026.06.09.01
|
Integrates a 1D-function over the interval \( (-\infty, +\infty) \). More...
#include <GslQuadAdaptive.hpp>
Public Member Functions | |
| template<typename IntegrandType> | |
| double | operator() (IntegrandType &&integrand, const double tolerance_abs, const double tolerance_rel=0.) const |
Integrates a 1D-function over the interval \( (-\infty, +\infty) \).
The algorithm for "InfiniteInterval" uses the semi-open interval \( (0, 1] \) to map to an infinite interval \( (-\infty, +\infty) \). Its function takes no parameters other than limits tolerance_abs and optional tolerance_rel for the absolute error and the relative error.