From: Hugh Sasse Staff Elec Eng Date: 2000-08-22T00:44:28+09:00 Subject: [ruby-talk:4534] Re: RFC: Ruby extension for Random numbers I'm delighted to see that this is to appear. On Tue, 22 Aug 2000, ts wrote: >>>>> "R" == Robert Feldt writes: [...] > R> class MersenneTwister19937 < RandomNumberGenerator > > Mersenne Twister is known as MT19937 (mt19937-1.c, mt19937-2.c, and > also ... cokus.c :-)) > > Apparently you like very long name :-) It is the numeric part I will never be able to remember when I want it! :-) [...] > R> class RandomGauss > > Difficult to say for this class, because it exist many distribution > (i.e. not only the gaussian distribution) (cauchy, rayleigh, pareto, etc) > and perhaps we will end with 50 classes > Could there be a function to be re-defined (by singleton or subclass) that would modifiy the distribution according to taste? > > Guy Decoux > Hugh hgs@dmu.ac.uk