Matrix1 Utility Plug-ins

# MAKE RNG MT2

Syntax

MAKE RNG MT2 RndId MAKE RNG MT2 RndId, Scale MAKE RNG MT2 RndId, Lower limit, Upper limit

Description

These commands create a generator based upon the Mersenne Twister pseudo-random generator. The first form of this command will create a generator that returns a number ranging from 0 up to (but not including) 1. The second form of this command will create a generator that returns a number ranging from 0 up to (but not including) the scale you specify. The third form of this command will create a generator that returns a number ranging from the lower limit specified, up to (but not including) the upper limit specified. Type = Mersenne Twister / mt19937 Cycle size = 2^19937-1 Memory usage = 2500 bytes Relative speed = 100 Description = "Mersenne Twister: A 623-dimensionally equidistributed uniform pseudo-random number generator", Makoto Matsumoto and Takuji Nishimura, ACM Transactions on Modeling and Computer Simulation: Special Issue on Uniform Random Number Generation, Vol. 8, No. 1, January 1998, pp. 3-30.

Go back to ...

Matrix1Util_08 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011