commons-dev mailing list archives

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

> 
> 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?


Best,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message