Matrix1 Utility Plug-ins

# MAKE RNG RAND

Syntax

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

Description

These commands create a generator that is equivalent to the standard Unix lrand 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 = Linear Congruential / rand48 Cycle size = 2^48-1 Memory usage = 8 bytes Relative speed = 80 Description = "Mathematical methods in large-scale computing units", D. H. Lehmer, Proc. 2nd Symposium on Large-Scale Digital Calculating Machines, Harvard University Press, 1951, pp. 141-146

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