gsl_inte_table Class Reference

#include <gsl_inte_qag_b.h>

Inheritance diagram for gsl_inte_table:

gsl_inte gsl_inte_kronrod gsl_inte_qag gsl_inte_singular gsl_inte_qags gsl_inte_transform gsl_inte_cheb gsl_inte_qagi gsl_inte_qagil gsl_inte_qagiu gsl_inte_qawc gsl_inte_qawo_sin gsl_inte_qaws gsl_inte_qawf_sin gsl_inte_qawo_cos gsl_inte_qawf_cos

Detailed Description

Base routines for the GSL adaptive integration routines.

This class contains several functions for manipulating the GSL integration workspace.

Idea for future:
Move gsl_integration_workspace to a separate class and remove this class, making all children direct descendants of gsl_inte instead. We'll have to figure out what to do with the data member wkspace though. Some work on this front is already in gsl_inte_qag_b.h.

Definition at line 489 of file gsl_inte_qag_b.h.


Public Member Functions

int set_wkspace (size_t size)
 Set the integration workspace size.
void initialise (gsl_integration_workspace *workspace, double a, double b)
 Initialize the workspace for an integration with limits a and b.
void set_initial_result (gsl_integration_workspace *workspace, double result, double error)
 Set the result at position zero.
void retrieve (const gsl_integration_workspace *workspace, double *a, double *b, double *r, double *e)
 Retrieve the ith result from the workspace.
void qpsrt (gsl_integration_workspace *workspace)
 Sort the workspace.
void update (gsl_integration_workspace *workspace, 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 (const gsl_integration_workspace *workspace)
 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.
void append_interval (gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1)
 Append new results to workspace.

Data Fields

gsl_integration_workspace * w
 The integration workspace.
int wkspace
 The size of the integration workspace.

Member Function Documentation

void retrieve ( const gsl_integration_workspace *  workspace,
double *  a,
double *  b,
double *  r,
double *  e 
)

Retrieve the ith result from the workspace.

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