Versions Compared

Key

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

*qra* — Quick random draw

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*qra* _from to_ \[*int*] 

{panel}

h2. 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. 

h2. Arguments

_from to_ 
{indent}Make a random draw between the values _from_ and _to_.{indent} 
*int* 
{indent}The result will be an integer.{indent} 

h2. See also

[mak|mak - Make datasets] _ran_, [mak|mak - Make datasets] _ras_
{pagebreak}

Name

qra — Quick random draw

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

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

int

See also

mak ran, mak ras