Subversion Repositories wimsdev

Rev

Rev 32 | Rev 5766 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
!! +var+ +random+
2
$lst_tit random$lst_titend$type_var
4562 bpr 3
  $lst_alias randdouble, randfloat
4
  $(lst_syntax)random $emph n1$emphend ,$emph n2$emphend</tt>
32 reyssat 5
  $lst_mean Returns a random real number between $emph n1 $emphend and $emph
6
  n2 $emphend. <br>
7
  Substitution and evaluation are done on $emph n1 $emphend and $emph n2
8
  $emphend before applying random. <br>
9
  If $emph n2 $emphend is missing, returns random number between 0 and
10
  $emph n1 $emphend. <br>
11
  If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0.
12
  <br>
13
  You can also type <tt>!random n1,n2 repeat i</tt> to repeatedly generate
14
  $emph i$emphend random numbers.
15