gsl_inte_qawf_sin Class Template Reference

Adaptive integration for oscillatory integrals (GSL). More...

#include <gsl_inte_qawf.h>

Inheritance diagram for gsl_inte_qawf_sin:

gsl_inte_qawo_sin gsl_inte_cheb gsl_inte_transform gsl_inte_singular gsl_inte_kronrod gsl_inte_table inte gsl_inte gsl_inte_qawf_cos

Detailed Description

template<class param_t, class func_t>
class gsl_inte_qawf_sin< param_t, func_t >

Adaptive integration for oscillatory integrals (GSL).

The number of subdivisions of the original interval which this class is allowed to make is dictated by the workspace size for the integration class, which can be set using gsl_inte_table::set_wkspace() .

Todo:
Improve documentation a little

Definition at line 44 of file gsl_inte_qawf.h.


Public Member Functions

virtual double integ (func_t &func, double a, double b, param_t &pa)
 Integrate function func from a to b.
virtual int integ_err (func_t &func, double a, double b, param_t &pa, double &res, double &err2)
 Integrate function func from a to b and place the result in res and the error in err.

Protected Member Functions

int qawf (func_t &func, const double a, const double epsabs, const size_t limit, double *result, double *abserr, param_t &pa)
 The full GSL integration routine called by integ_err().
virtual double transform (func_t &func, double x, param_t &pa)
 Add the oscillating part to the integrand.
const char * type ()
 Return string denoting type ("gsl_inte_qawf_sin").

Protected Attributes

gsl_integration_workspace * cyclew
 The integration workspace.

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