Matrix1 Utility Plug-ins

MAKE RNG MT1


Syntax

MAKE RNG MT1 RndId
MAKE RNG MT1 RndId, Scale
MAKE RNG MT1 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 / mt11213b
Cycle size = 2^11213-1
Memory usage = 1408 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