Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Overview of the RandomTools[MersenneTwister] Subpackage
Calling Sequence
RandomTools[MersenneTwister][function](arguments)
function(arguments)
Description
The RandomTools[MersenneTwister] subpackage contains functions for creating pseudo-random number generators using the Mersenne Twister algorithm. This algorithm has the following properties:
* period length of 2^19937-1
* 623-dimensional equidistribution property
* passed various tests, including the diehard test by G. Marsaglia and the load test by O.Hellekalek and S. Wegenkittl
* very fast
The MersenneTwister algorithm is implemented in the kernel and is extremely fast. This algorithm is also used within the kernel for generating random rtables and random polynomials.
The MersenneTwister algorithm is intended to be used as a general purpose random number generator. It is good for randomized algorithm and generating random data. However the MersenneTwister has not been shown to produce numbers that can be considered cryptographically secure. For cryptography the BlumBlumShub generator should be used.
Each command in the RandomTools[MersenneTwister] subpackage can be accessed by using either the long form or the short form of the command name in the command calling sequence.
As the underlying implementation of the RandomTools[MersenneTwister] subpackage is a module, it is also possible to use the form MersenneTwister:-command to access a command from the package. For more information, see Module Members.
List of RandomTools[MersenneTwister] Subpackage Commands
GenerateFloat
GenerateFloat64
GenerateInteger
GenerateInteger32
GenerateUnsignedInt32
GetState
NewGenerator
SetState
To display the help page for a particular MersenneTwister command, see Getting Help with a Command in a Package.
See Also
rand, RandomTools, RandomTools[BlumBlumShub], RandomTools[LinearCongruence], RandomTools[QuadraticCongruence], UsingPackages , with
References
Matsumoto, Makoto and Nishimura, Takuji. "Mersenne Twister: A 623-dimensionally equidistributed uniform pseudorandom number generator." ACM Transactions on Modeling and Computer Simulation, Vol 8, No 1, (January 1998): 3-30.
The Mersenne Twister Home Page, Home page of Makoto Matsumoto, http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html accessed 1 June 2005.
Download Help Document