CL
iki
the common lisp wiki
Home
Recent Changes
About CLiki
Text Formatting
Create New Page
Edit ``Mersenne Twister''
The Mersenne Twister is a pseudorandom number generation *(algorithm) created by Makoto Matsumoto. There is a
Mersenne Twister home page
, and a
Wikipedia entry
. The Mersenne Twister algorithm has a large period (something like 2
19,937
- 1), and it is advertised as fast. There are two main portable implementations:
_(MT19937) is a portable version of _(CMUCL)'s random number generator. It's faster than _(jmt.lisp), but significantly slower than the built-in :(CLHS "random") function on all implementations it's been tested with. It's in the public domain.
_(jmt.lisp) is another implementation of the Mersenne Twister. It's slower than _(MT19937), but it's still a good implementation. In particular, _(MT19937) may have a few bugs from the move to portability. It's under the LGPL.
*(statistics)
Please supply your name and a summary of changes for the Recent Changes page. If you are making a minor alteration to a page you recently edited, you can avoid making another Recent Changes entry by leaving the Summary box blank
Summary of changes:
Captcha (enter the word "lisp" here):
Your name:
Check this box to fill in your name automatically next time
(uses a cookie)