QuantLib_GaussLobattoIntegral man page

GaussLobattoIntegral — Integral of a one-dimensional function.

Synopsis

#include <ql/math/integrals/gausslobattointegral.hpp>

Inherits Integrator.

Public Member Functions

GaussLobattoIntegral (Size maxIterations, Real absAccuracy, Real relAccuracy=Null< Real >(), bool useConvergenceEstimate=true)

Protected Member Functions

Real integrate (const boost::function< Real(Real)> &f, Real a, Real b) const

Real adaptivGaussLobattoStep (const boost::function< Real(Real)> &f, Real a, Real b, Real fa, Real fb, Real is) const

Real calculateAbsTolerance (const boost::function< Real(Real)> &f, Real a, Real b) const

Protected Attributes

Real relAccuracy_

const bool useConvergenceEstimate_

Static Protected Attributes

static const Real alpha_

static const Real beta_

static const Real x1_

static const Real x2_

static const Real x3_

Detailed Description

Integral of a one-dimensional function.

Given a target accuracy $ \psilon $, the integral of a function $ f $ between $ a $ and $ b $ is calculated by means of the Gauss-Lobatto formula

References: This algorithm is a C++ implementation of the algorithm outlined in

W. Gander and W. Gautschi, Adaptive Quadrature - Revisited. BIT, 40(1):84-101, March 2000. CS technical report: ftp.inf.ethz.ch/pub/publications/tech-reports/3xx/306.ps.gz

The original MATLAB version can be downloaded here http://www.inf.ethz.ch/personal/gander/…

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

adaptivGaussLobattoStep(3), calculateAbsTolerance(3), GaussLobattoIntegral(3), relAccuracy_(3), useConvergenceEstimate_(3), x1_(3), x2_(3) and x3_(3) are aliases of QuantLib_GaussLobattoIntegral(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib