Rev 4482 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4482 | bpr | 1 | !!do not use, use exponential |
2 | |||
20 | reyssat | 3 | !if $wims_read_parm!=slib_header |
4 | !goto proc |
||
5 | !endif |
||
4161 | bpr | 6 | |
20 | reyssat | 7 | slib_parms=2\ |
8 | ,m\ |
||
9 | ,lambda |
||
4330 | bpr | 10 | slib_author=Adeline, Grelot; Bernadette, PERRIN-RIOU |
4161 | bpr | 11 | |
20 | reyssat | 12 | slib_comment= \lambda*exp(-\lambda*x) |
13 | !exit |
||
14 | |||
15 | :proc |
||
16 | slib_out= |
||
17 | !distribute item $wims_read_parm into slib_m, slib_lambda |
||
18 | slib_out=!random 0,1 repeat $slib_m |
||
19 | slib_out=!values -log(x)/$slib_lambda for x in $slib_out |
||
20 | |||
21 | slib_out=!trim $slib_out |