This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: integration
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Francisco J Molina <FJMolina at lbl dot gov>
- Cc: "gsl-discuss at sources dot redhat dot com" <gsl-discuss at sources dot redhat dot com>
- Date: Thu, 4 Jul 2002 22:49:46 +0100 (BST)
- Subject: Re: integration
- References: <3D23D99D.C8413A8@lbl.gov>
Francisco J Molina writes:
> I am using gsl_integration_qagi to integrate a function similar to a
> Gaussian ( it is always positive and tends to zero as x tends to +/-
> infinity.
>
> Since this function is never 0, I wonder if it is possible to modify the
> source code to use a 60-point Gauss-Kronrod rule of QAGS?
The integration rule is fixed at compile time, but if you copy the
file integration/qags.c and its #include's into your application you
can modify the reference to the integration rule and override the
version in the library.
Brian