SpECTRE  v2026.06.09.01
Loading...
Searching...
No Matches
integration::GslQuadAdaptive< GslIntegralType::InfiniteInterval > Class Reference

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

Detailed Description

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.


The documentation for this class was generated from the following file:
  • src/NumericalAlgorithms/Integration/GslQuadAdaptive.hpp