#include <gsl_inte_qag_b.h>
Definition at line 447 of file gsl_inte_qag_b.h.
Public Member Functions | |
int | allocate (size_t sz) |
int | free () |
int | initialise (double a, double b) |
Initialize the workspace for an integration with limits a and b . | |
int | set_initial_result (double result, double error) |
Set the result at position zero. | |
int | retrieve (double *a, double *b, double *r, double *e) const |
Retrieve the ith result from the workspace. | |
int | qpsrt () |
Sort the workspace. | |
int | update (double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2) |
Update workspace with new results and resort. | |
double | sum_results () |
Add up all of the contributions to construct the final result. | |
int | subinterval_too_small (double a1, double a2, double b2) |
Find out if the present subinterval is too small. | |
int | append_interval (double a1, double b1, double area1, double error1) |
Append new results to workspace. |
int qpsrt | ( | ) |
This routine maintains the descending ordering in the list of the local error estimated resulting from the interval subdivision process. at each call two error estimates are inserted using the sequential search method, top-down for the largest error estimate and bottom-up for the smallest error estimate.
Originally written in QUADPACK by
piessens, robert, appl. math. & progr. div. - k.u.leuven de doncker, elise, appl. math. & progr. div. - k.u.leuven
int retrieve | ( | double * | a, | |
double * | b, | |||
double * | r, | |||
double * | e | |||
) | const |
The workspace variable i
is used to specify which interval is requested.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page