============================================================================== Random Version 1.1 1992 Feb 27 Written by Gregor N. Purdy Copyright 1991, 1992 Contemporary Design Studios. All rights reserved. ============================================================================== General Information =================== The Random class provides services for random number generation and die rolling. It implements its own random number generator with a cycle length of 8.8 trillion. The algorithm used by the Random class is that given in the article: ªA Higly Random Random±Number Generatorº by T.A. Elkins Computer Language, Volume 6, Number 12 (December 1989), Pages 59-65 Published by: Miller Freeman Publications 500 Howard Street San Francisco, CA 94105 (415) 397-1881 This is Version 1.1 of Random, distributed 1992 Feb 27. Written by Gregor Purdy, Contemporary Design Studios Real Job Contact Information (NOT Contemporary Design Studios): gregor@umich.edu University of Michigan / 1600 SEB 610 E. University / Ann Arbor / MI / 48109 THIS WORK IS DISTRIBUTED AS IS, WITH NO WARANTEE OR GUARANTEE EXPRESSED OR IMPLIED IN ANY RESPECT. THE AUTHOR IS NOT LIABLE FOR ANY DAMAGES WHATSOEVER DIRECTLY OR INDIRECTLY RELATED TO THE USAGE OF THIS WORK. That said, I do welcome comments, suggestions, and bug reports. I want to use this in some of my own projects, so I'm very interested in making sure it works correctly. Feel free to drop me an email or letter with your comments. This work is distributed as FreeWare. Previous versions were further restricted under the GNU Public License, version 1. This version is no longer so restricted. This version of the Random class may be used by anyone, anywhere, for anything, with the following conditions: (i) The usage must not be illegal in any way. (ii) You must credit Contemporary Design Studios and Gregor N. Purdy and include the copyright information at the top of this document in your documentation and in your "Info Panel," if any, if your work is ever used by anyone other than yourself. (iii) Contemporary Design Studios and Gregor N. Purdy retain the right to make improvements to this work and to change the distribution conditions and terms in future versions. (iv) You may NOT in any way change the Random class and redistribute it, even under a new name, but you MAY, and in fact are encouraged to, report bugs and make suggestions for enhancements to Contemporary Design Studios and Gregor N. Purdy. (iv) You MAY make subclasses of Random that do whatever you want. Of course, these subclasses will be governed by your own rules, but the Random class will still be governed by these rules. (v) You MAY distribute the source code of the Random class with your work, but all the documentation for Random, including this notice, must be distributed with it. Nobody should ever see the source code to the Random class without also seeing these documentation files, so they can use it, too. New Features ============ Version 1.1 of the Random class adds the following features from Version 1.0: * Gaussian variables; * Arbitrary distribution (via randFunc: method); * Nicer distribution policy; * Two neat histogram testing programs, one for flat distributions (from percent method), and one for Gaussian distributions (from gaussian method). ==============================================================================
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.