Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-11 Thread Patrick Alken
Just one last note, I assume you found this already, but the gsl_coerce_double() function is located in sys/coerce.c. You could try calling this function directly. On 05/11/2018 01:35 AM, Francesco Florian wrote: > On Thursday, May 10, 2018 8:17:47 PM CEST lostbits wrote: >> On 5/10/2018 8:08 AM,

Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-11 Thread lostbits
On 5/11/2018 12:35 AM, Francesco Florian wrote: On Thursday, May 10, 2018 8:17:47 PM CEST lostbits wrote: On 5/10/2018 8:08 AM, Patrick Alken wrote: On 05/10/2018 04:18 AM, Francesco Florian wrote: Hello! Since I have received no answer, I wonder whether this is the right mailing list for

Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-11 Thread Francesco Florian
On Thursday, May 10, 2018 8:17:47 PM CEST lostbits wrote: > > On 5/10/2018 8:08 AM, Patrick Alken wrote: > > On 05/10/2018 04:18 AM, Francesco Florian wrote: > >> Hello! > >> Since I have received no answer, I wonder whether this is the right > >> mailing list for this question. If it is not,

Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-11 Thread Francesco Florian
> Hello, > > What exactly are you trying to do that QAG cannot? Perhaps there is > an alternate way without rewriting the function. I have to compute (for many t ∈ [0,1]) exp(∫_0^t f(x) dx), where lim_{x→1} f(x)=-∞. Any adaptive quadrature computing the integral will use many intervals near

Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-10 Thread Patrick Alken
On 05/10/2018 04:18 AM, Francesco Florian wrote: Hello! Since I have received no answer, I wonder whether this is the right mailing list for this question. If it is not, can you please point me to the right one? Thank you Hello,   What exactly are you trying to do that QAG cannot? Perhaps

Re: [Help-gsl] Fwd: Modifying adaptive integration function

2018-05-10 Thread Francesco Florian
Hello! Since I have received no answer, I wonder whether this is the right mailing list for this question. If it is not, can you please point me to the right one? Thank you -- Francesco Florian On Monday, April 16, 2018 10:43:23 AM CEST Francesco Florian wrote: > Hello, > I'm currently trying

[Help-gsl] Fwd: Modifying adaptive integration function

2018-04-16 Thread Francesco Florian
Hello, I'm currently trying to write a modified version of the functions in integration/qag.c to solve a problem I have, but I ran into this problem: qag uses the `GSL_COERCE_DBL' macro, which is defined in configure.ac (the relevant code follows) #if HAVE_EXTENDED_PRECISION_REGISTERS #define