Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-09 Thread Thomas Neidhart
On Wed, May 9, 2012 at 7:40 AM, Sébastien Brisard sebastien.bris...@m4x.org wrote: Hi, the patch for the proposed modification has been attached to the MATH-753 ticket. Thanks for your comments! What I have seen in the patch, you remove duplicated code by using the already existing lanczos

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-09 Thread Sébastien Brisard
Hi Thomas, Hi, the patch for the proposed modification has been attached to the MATH-753 ticket. Thanks for your comments! What I have seen in the patch, you remove duplicated code by using the already existing lanczos function, and create an additional function for the constant. In

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-09 Thread Gilles Sadowski
Hello. the patch for the proposed modification has been attached to the MATH-753 ticket. Thanks for your comments! What I have seen in the patch, you remove duplicated code by using the already existing lanczos function, and create an additional function for the constant. I guess just

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-09 Thread Sébastien Brisard
OK, I've cleaned up my mess, and attached the true patch to MATH-753. Sorry about that. Sébastien - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-09 Thread Gilles Sadowski
the patch for the proposed modification has been attached to the MATH-753 ticket. Thanks for your comments! What I have seen in the patch, you remove duplicated code by using the already existing lanczos function, and create an additional function for the constant. In fact, I've

[math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Sébastien Brisard
Hi, I've spent quite some time on MATH-753 [1], and I think I now have a satisfactory solution. The problem was to overcome the overflows which arise when computing the density of the Gamma distribution for large values of the argument and/or the scale parameter. As I initially feared, what was

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Thomas Neidhart
On 05/08/2012 05:26 PM, Sébastien Brisard wrote: Hi, I've spent quite some time on MATH-753 [1], and I think I now have a satisfactory solution. The problem was to overcome the overflows which arise when computing the density of the Gamma distribution for large values of the argument and/or

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Gilles Sadowski
I've spent quite some time on MATH-753 [1], and I think I now have a satisfactory solution. The problem was to overcome the overflows which arise when computing the density of the Gamma distribution for large values of the argument and/or the scale parameter. As I initially feared,

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Sébastien Brisard
Hi Thomas, 2012/5/8 Thomas Neidhart thomas.neidh...@gmail.com: On 05/08/2012 05:26 PM, Sébastien Brisard wrote: Hi, I've spent quite some time on MATH-753 [1], and I think I now have a satisfactory solution. The problem was to overcome the overflows which arise when computing the density of

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Sébastien Brisard
Hi Gilles, 2012/5/8 Gilles Sadowski gil...@harfang.homelinux.org: I've spent quite some time on MATH-753 [1], and I think I now have a satisfactory solution. The problem was to overcome the overflows which arise when computing the density of the Gamma distribution for large values of the

Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma?

2012-05-08 Thread Sébastien Brisard
Hi, the patch for the proposed modification has been attached to the MATH-753 ticket. Thanks for your comments! Best regards, Sébastien - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands,