Rev 5766 | Rev 11210 | 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 |
5921 | bpr | 4 | $(lst_syntax)random $emph n1$emphend ,$emph n2$emphend</span> |
32 | reyssat | 5 | $lst_mean Returns a random real number between $emph n1 $emphend and $emph |
5766 | bpr | 6 | n2 $emphend. <br/> |
32 | reyssat | 7 | Substitution and evaluation are done on $emph n1 $emphend and $emph n2 |
5766 | bpr | 8 | $emphend before applying random. <br/> |
32 | reyssat | 9 | If $emph n2 $emphend is missing, returns random number between 0 and |
5766 | bpr | 10 | $emph n1 $emphend. <br/> |
32 | reyssat | 11 | If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0. |
5766 | bpr | 12 | <br/> |
5921 | bpr | 13 | You can also type <span class="tt">!random n1,n2 repeat i</span> to repeatedly generate |
32 | reyssat | 14 | $emph i$emphend random numbers. |