12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <html lang="en">
- <head>
- <title>Additional gslint notes - avram - a virtual machine code interpreter</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="avram - a virtual machine code interpreter">
- <meta name="generator" content="makeinfo 4.13">
- <link title="Top" rel="start" href="index.html#Top">
- <link rel="up" href="gslint.html#gslint" title="gslint">
- <link rel="prev" href="gslint-exceptions.html#gslint-exceptions" title="gslint exceptions">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <a name="Additional-gslint-notes"></a>
- <p>
- Previous: <a rel="previous" accesskey="p" href="gslint-exceptions.html#gslint-exceptions">gslint exceptions</a>,
- Up: <a rel="up" accesskey="u" href="gslint.html#gslint">gslint</a>
- <hr>
- </div>
- <h4 class="subsection">D.7.4 Additional <code>gslint</code> notes</h4>
- <p>The <code>qagx</code>* functions subsume the GSL variants <code>qags</code>,
- <code>qagiu</code>, <code>qagil</code>, and <code>qagi</code> for finite, semi-infinite,
- and infinite intervals, which are seleted as appropriate based on the
- <a name="index-improper-integrals-733"></a>limits of integration <var>a</var> and <var>b</var>.
- <p>The <code>qagp</code> function reverts to the <code>qagx</code> function if there
- are only two points given in <var>p</var>. Fewer than two will cause an
- error.
- <p>The library interface code relies on the standard <code>setjmp</code>
- <a name="index-setjmp-734"></a>utility found in the system header file <code>setjmp.h</code> 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.
- <p>Although it is meant to be standard, a host without <code>setjmp</code> will
- cause <code>avram</code> 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 *<code>_tol</code> library
- functions.
- </body></html>
|