Rnd
From Maze
(Difference between revisions)
(→Survey of Random Number Algorithms) | (→Survey of Random Number Algorithms) | ||
| Line 61: | Line 61: | ||
Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is completely unsuitable for cryptographic purposes. | Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is completely unsuitable for cryptographic purposes. | ||
| − | [[Media:Mathematica-PRNG-Eval.pdf Tutorial on standard tests of randomness and how to implement these tests in Mathematica]] | + | [[Media:Mathematica-PRNG-Eval.pdf]] |
| + | Tutorial on standard tests of randomness used to evaluate the quality of random number generators and how to implement these tests in Mathematica. Includes a mention of the c64 generator at the end as an example of a high-quality LCG generator. | ||
=Etymology of the Word "Random"= | =Etymology of the Word "Random"= | ||
