<> ====== GSL ====== Documentation for the rb-gsl module can be found at http://rb-gsl.rubyforge.org/ Documentation for the GSL is at http://www.gnu.org/software/gsl/manual/ ===== Create Random Numbers with Given Distribution ===== #!highlight ruby rng = GSL::Rng.alloc # create a random number generator with default method and seed 0 GSL::Ran.gaussian(rng, 2.5) # draws random number from gaussian with mu = 0 and sigma = 2.5