# QuantLib_GaussKronrodAdaptive man page

GaussKronrodAdaptive — Integral of a 1-dimensional function using the Gauss-Kronrod methods.

## Synopsis

`#include <ql/math/integrals/kronrodintegral.hpp>`

Inherits Integrator.

### Public Member Functions

GaussKronrodAdaptive(Realtolerance,SizemaxFunctionEvaluations=Null<Size>())

### Protected Member Functions

Real integrate(const boost::function<Real(Real)> &f,Reala,Realb) const

## Detailed Description

Integral of a 1-dimensional function using the Gauss-Kronrod methods.

This class provide an adaptive integration procedure using 15 points Gauss-Kronrod integration rule. This is more robust in that it allows to integrate less smooth functions (though singular functions should be integrated using dedicated algorithms) but less efficient beacuse it does not reuse precedently computed points during computation steps.

References:

Gauss-Kronrod Integration http://mathcssun1.emporia.edu/~oneilcat…

NMS - Numerical Analysis Library http://www.math.iastate.edu/burkardt/f_…

**Tests**

the correctness of the result is tested by checking it against known good values.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

GaussKronrodAdaptive(3) is an alias of QuantLib_GaussKronrodAdaptive(3).