Class inte_qawf_gsl_cos (o2scl)

O2scl : Class List

template<class func_t>
class inte_qawf_gsl_cos : public o2scl::inte_qawf_gsl_sin<func_t>

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

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 inte_qawf_gsl_sin . See that class documentation for more details.

Public Functions

inline inte_qawf_gsl_cos()
inline virtual ~inte_qawf_gsl_cos()
inline 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 Functions

inline virtual double transform(double t, func_t &func)

Add the oscillating part to the integrand.

inline virtual const char *type()

Return string denoting type (“inte_qawf_gsl_cos”)