Matrix1 Utility Plug-ins

MAKE RNG LF1


Syntax

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

Description

These commands create a generator based upon the Lagged Fibonacci 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 = Lagged Fibonacci / lagged_fibonacci607
Cycle size = approx. 2^32000
Memory usage = 4856 bytes
Relative speed = 150

Description = "Uniform random number generators for supercomputers", Richard Brent, Proc. of Fifth Australian Supercomputer Conference, Melbourne, Dec. 1992, pp. 704-706.

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