samedi 23 janvier 2016

Whats the difference between nextGaussian and nextDouble in java Random class?

If I want to sample from a uniform distribution and get double values, I feel like I can use both Random.nextDouble() or Random.nextGaussian() in java. Can someone explain to me the difference please.




Aucun commentaire:

Enregistrer un commentaire