|
TMB Documentation
v1.9.11
|
Namespace with utility functions for adaptive numerical integration. More...
Classes | |
| struct | control |
| User control parameters for R's integrate. More... | |
| struct | Integral |
| Interface to R's adaptive integrate routine. More... | |
| struct | mvIntegral |
| Multivariate integral class. More... | |
Functions | |
| template<class Integrand > | |
| Integrand::Scalar | integrate (Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control()) |
| Integrate function over finite or infinite interval. More... | |
| template<class Integrand > | |
| mvIntegral0< Integrand > | mvIntegrate (Integrand &f, control c=control()) |
| Multivariate integration. More... | |
Namespace with utility functions for adaptive numerical integration.
Interfaces to R's integrator that can be used with forward mode AD.
| Integrand::Scalar gauss_kronrod::integrate | ( | Integrand | f, |
| typename Integrand::Scalar | a = -INFINITY, |
||
| typename Integrand::Scalar | b = INFINITY, |
||
| control | c = control() |
||
| ) |
Integrate function over finite or infinite interval.
| f | Univariate integrand (functor) |
| a | Lower integration limit. Default is negative infinity. |
| a | Upper integration limit. Default is positive infinity. |
| c | Optional control parameters. |
Example:
Definition at line 163 of file tiny_ad/integrate/integrate.hpp.
| mvIntegral0<Integrand> gauss_kronrod::mvIntegrate | ( | Integrand & | f, |
| control | c = control() |
||
| ) |
Multivariate integration.
| f | Multivariate integrand (functor) |
| c | Optional control parameters |
Example:
Definition at line 259 of file tiny_ad/integrate/integrate.hpp.