Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Member Functions
gsl_inte_qawf_cos< func_t > Class Template Reference

Adaptive integration a function with finite limits of integration (GSL) More...

#include <gsl_inte_qawf.h>

Inheritance diagram for gsl_inte_qawf_cos< func_t >:
gsl_inte_qawf_sin< func_t > gsl_inte_qawo_sin< func_t > gsl_inte_cheb< func_t > gsl_inte_transform< func_t > gsl_inte_singular< func_t > gsl_inte_kronrod< func_t > gsl_inte inte< func_t >

Detailed Description

template<class func_t>
class gsl_inte_qawf_cos< func_t >

The Fourier integral

\[ \int_a^{\infty} f(x) \cos(\omega x)~dx \]

is computed for some frequency parameter $ \omega $ .

This class is exactly analogous to gsl_inte_qawf_sin . See that class documentation for more details.

Definition at line 385 of file gsl_inte_qawf.h.

Public Member Functions

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

Protected Member Functions

virtual double transform (double t, func_t &func)
 Add the oscillating part to the integrand.
const char * type ()
 Return string denoting type ("gsl_inte_qawf_cos")

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.