Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get a random gaussian float?

807598Oct 22 2006 — edited Oct 23 2006
i want something that generates a random float from a Gaussian distribution.
java.util.random only gives me a double.

this class here says it can do it, but i cant find the code...
http://laseeb.isr.ist.utl.pt/sw/JDEAL/api/pt/laseeb/util/RNG.html

any help would be great thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2006
Added on Oct 22 2006
3 comments
249 views