Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator

ACM Transactions on Modeling and Computer Simulation Volume 8 Issue 1 Page 3-30 published_at 1998-01
アクセス数 : 1385
ダウンロード数 : 556

今月のアクセス数 : 0
今月のダウンロード数 : 1
File
ACMTraModel_8_3.pdf 402 KB 種類 : fulltext
Title ( eng )
Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator
Creator
Nishimura Takuji
Source Title
ACM Transactions on Modeling and Computer Simulation
Volume 8
Issue 1
Start Page 3
End Page 30
Abstract
A new algorithm called Mersenne Twister (MT) is proposed for generating uniform pseudorandom numbers. For a particular choice of parameters, the algorithm provides a super astronomical period of 219937 - 1 and 623-dimensional equidistribution up to 32-bit accuracy, while using a working area of only 624 words. This is a new variant of the previously proposed generators, TGFSR, modified so as to admit a Mersenne-prime period. The characteristic polynomial has many terms. The distribution up to v bits accuracy for 1 ≤ v ≤ 32 is also shown to be good. An algorithm is also given that checks the primitivity of the characteristic polynomial of MT with computational complexity O(p2) where p is the degree of the polynomial. We implemented this generator in portable C-code. It passed several stringent statistical tests, including diehard. Its speed is comparable to other modern generators. Its merits are due to the efficient algorithms that are unique to polynomial calculations over the two-element field.
Keywords
Finite fields
GFSR
Incomplete array
Inversive-decimation method
k-distribution
M-sequences
Mersenne Primes
Mersenne Twister
MT19937
Multiple-recursive matrix method
Primitive polynomials
Random number generation
Tempering
TGFSR
NDC
Mathematics [ 410 ]
Language
eng
Resource Type journal article
Publisher
ACM
Date of Issued 1998-01
Rights
Copyright (c) 2006 ACM. This is the author version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Modeling and Computer Simulation, Vol.8 No.1 ; http://dx.doi.org/10.1145/272991.272995
Publish Type Author’s Original
Access Rights open access
Source Identifier
[ISSN] 1049-3301
[DOI] 10.1145/272991.272995
[NCID] AA10779230
[DOI] http://dx.doi.org/10.1145/272991.272995 isVersionOf