We made a package with several random number generators available on SqueakSource: http://www.squeaksource.com/Random.html I dunno what are your needs exactly but there is gaussian random generator. On Wed, Mar 31, 2010 at 1:15 PM, Lukas Renggli <renggli@gmail.com> wrote:
Is there a standard library access and make calculations from the distributions mentioned in the subject of this email? Â I'm interested in random draws from those distributions. Â I haven't found anything looking in the image or on squeaksource. Thanks
Have a look in the "Chapter 21: Probability Distributions" of "Smalltalk-80: The Language and its Implementation By Adele Goldberg and DavidRobson; Xerox Palo Alto Research Center ISBN 0-201-11371-6. 344 pp. 1983" (http://stephane.ducasse.free.fr/FreeBooks.html).
I am sure that you can find a file-out of the code described in the book with Google. I remember having it packaged up with Monticello some time ago, but can't find it right now.
Lukas
PS: Please configure your reply-to address to go to the mailing list.
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/