Random gauss numbers?


#1

Hello all,

how can I generate random Gaussian distributed numbers?
something like Gauss(mean, sigma)

thx in advance

Daniel


#2

http://www.taygeta.com/random/gaussian.html


#3

The link below contains an ruby implementation of the Box-Muller method
for normal distribution:

http://users.rcn.com/m3ha11/ruby/Rand.rb