commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <>
Subject Re: [math] Gamma Distribution Algorithm
Date Thu, 29 Mar 2012 10:52:53 GMT

> Have you looked at the nextGamma in org.apache.commons.math.random? It
> should be much faster than using the inversion method.

Whenever there is a specific (thus faster) implementation (in
"RandomDataImpl"), it should be called from the "sample" method of the
corresponding distribution class.

We should correct this performance bug.
Could you open an issue on the bug tracking system?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message