gsl_inte_workspace Class Reference

A GSL integration workspace. More...

#include <gsl_inte_qag_b.h>


Detailed Description

Note:
This class is unused at the moment. This is a future replacement for the GSL integration workspace.

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.

Member Function Documentation

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
	
translated into C for GSL by Brian Gough, and then rewritten for O2scl.

int retrieve ( double *  a,
double *  b,
double *  r,
double *  e 
) const

The workspace variable i is used to specify which interval is requested.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page