[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

D.7.4 Additional gslint notes

The qagx* functions subsume the GSL variants qags, qagiu, qagil, and qagi for finite, semi-infinite, and infinite intervals, which are seleted as appropriate based on the limits of integration a and b.

The qagp function reverts to the qagx function if there are only two points given in p. Fewer than two will cause an error.

The library interface code relies on the standard setjmp utility found in the system header file setjmp.h to break out of integrals that don’t converge after excessively many function evaluations. Non-termination has been an issue in the past with GSL integration routines for very badly behaved integrands, and the API provides no documented means for the user supplied integrand function to request a halt.

Although it is meant to be standard, a host without setjmp will cause avram to be configured to abort the application with an error message in the event of non-convergence. This behavior is considered preferable to the alternative of non-termination. Usually an effective workaround in such cases is to specify a sufficiently loose tolerance explicitly by using one of the *_tol library functions.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on November 8, 2012 using texi2html 1.82.