help-gsl
[Top][All Lists]

## Re: [Help-gsl] Integration involving Bessel Function

 From: Brian Gough Subject: Re: [Help-gsl] Integration involving Bessel Function Date: Fri, 04 Jun 2010 11:40:47 -0400 User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Wed, 2 Jun 2010 06:33:16 -0400,
> I am a beginer with gsl and I am trying to do an integration of the form:
>
> \int_0^\infty [ x J0(x) F(x) ].
>
> J0(x) being oscillatory makes the integrtal +ve and -ve within its
> consecutive zero's. Form of F(x) is such that the overall integrand is a
> decaying function of x.
>
> How to handle this type of integration using gsl.
>
> I tried using "gsl_integration_qag", but its not giving the correct results.
>

Did you try gsl_integration_qagiu (infinite upper limit)?