I've had good results in the past with the CQUAD integrator in cases
where QAGS fails
On 04/21/2015 05:54 AM, Jorge Fernandez de Cossio Diaz wrote:
I tried doing this using qags integrator, but it didn't work. What integrator
do you suggest?
________________________________
From: Rhys Ulerich [rhys.uler...@gmail.com]
Sent: Monday, April 20, 2015 06:52 PM
To: Jorge Fernandez de Cossio Diaz
Cc: GSL Help Mailing List
Subject: Re: [Help-gsl] Numerical integration of sharply peaked function
I have a function of a single variable with a very sharp peak at a known
position.
Split the integral into two halves taking the peak as the divider.
- Rhys
---------------------------------------------------
[http://5.cim.co.cu/cim.gif]