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-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org