qra - Quick random draw

Name

qra — Quick random draw

Syntax

qra from to [int]

Description

Make a uniform random draw between two values. Result in [gvar ran]. To assign it to a TCL variable do: set result [gvar ran]. A complete set of random functionality is in the MonteCarlo module.

Arguments

from to

Make a random draw between the values from and to.

int

The result will be an integer.

See also

mak ran, mak ras