commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <>
Subject Re: [Math] Generate pseudo random number that obey a given distribution
Date Thu, 20 May 2010 22:32:39 GMT

> I didn't for that in the doc, so maybe I'm asking the wrong question.
> Tell me if it's the case.
> I would like to generate random numbers that fits a given distribution.
> [...]

Did you have a look at at the "RandomData" interface (and "RandomDataImpl"
class)?  It contains methods such as "nextUniform", "nextGaussian", etc.

Best regards,

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

View raw message