TMB Documentation  v1.9.11
Namespaces | Functions
romberg.hpp File Reference

Romberg integration. More...

Go to the source code of this file.

Namespaces

 romberg
 Univariate and multivariate numerical integration.
 

Functions

template<class Type , class F >
Type romberg::integrate (F f, Type a, Type b, int n=7, int p=2)
 1D numerical integration using Romberg's method. More...
 
template<class Type , class F >
Type romberg::integrate (F f, vector< Type > a, vector< Type > b, int n=7, int p=2)
 Multi-dimensional numerical integration using Romberg's method. Dimension need not be known at compile time. More...
 

Detailed Description

Romberg integration.

Definition in file romberg.hpp.

License: GPL v2