From: Michael Craig Date: 2008-08-17T13:39:16+09:00 Subject: Re: Generating Normally Distributed Random Numbers? ------=_Part_39534_29100191.1218948144752 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, all. I tried some generic Googling and found an implementation of whats called the Box-Muller transformation. I've pretty much got it figured out now, and I'd gladly post what I come up with when I'm done. Thanks to Eric for what you posted, very helpful. The "trivial application" I have in mind is for writing some simple code to cut a deck of cards realistically. I'm working on some groundwork that will allow for ruby-based cards simulation. I've already written a working program for simulating a simple solitaire game called mod10, with the end goal of calculating how often a computer, making "perfect" decisions, wins the game. Mike On Sat, Aug 16, 2008 at 10:24 PM, Michael Craig wrote: > Does anybody know of a good method in Ruby to generate normally distributed > random numbers? The application I have in mind at the moment is trivial, > but > I can think of a number of statistics-oriented applications. > > Thanks, all, > Mike > ------=_Part_39534_29100191.1218948144752--