Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:qra}

Name

qra — Quick random draw

...

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