From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5891e7e61ca0dcd6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-28 14:35:21 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Ada implementation of Mersenne Twister (MT19937) X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3C55CEF9.BA256177@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <200201281013.LAA04729@bulgaria.otn.eurocopter.de> Mime-Version: 1.0 Date: Mon, 28 Jan 2002 22:21:45 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:19338 Date: 2002-01-28T22:21:45+00:00 List-Id: Christoph & Ursula Grein wrote: > > > I could not find an Ada implementation of MT19937 pseudo random number > > generator by searching CLA. > > Is this what you are looking for? > > -- Random Number Generator > -- > -- The algorithm was developed by George Marsaglia, > -- Supercomputer Computations Research Institute, > -- Florida State University > -- (ref. to Ada LETTERS, Volume VIII, Number2, March/April 1988). > > I've an implementation together with a test driver. It produces the prescribed > result. > Whoever is interested I will send. No that's Marsaglia's Universal random number generator, a different algorithm than MT19937. An implementation of Marsaglia's Universal generator is also part of the PragmAda Reusable Components. > > Thought someone might be interested to use MT19937. You can download > > the source from my web site at http://greenlime.com/users/adrian.hoe Note that Hoe's implementation is released under the GPL, not the GMGPL: any program that uses it is also under the GPL. -- Jeffrey Carter