This is exactly what I was looking for... I looked at the class, but
didn't realized I was what I looked for...

Thanks for the pointer.

-Martin

-----Original Message-----
From: Gilles Sadowski [mailto:[email protected]] 
Sent: Thursday, May 20, 2010 6:33 PM
To: [email protected]
Subject: Re: [Math] Generate pseudo random number that obey a given
distribution

Hi.

> 
> 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,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to