Rev 3265 | Rev 4328 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3265 | Rev 4161 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !goto proc |
2 | !goto proc |
3 | !endif |
3 | !endif |
4 | slib_title=Generation of random numbers with Poisson law |
- | |
- | 4 | ||
5 | slib_parms=2\ |
5 | slib_parms=2\ |
6 | 1,m\ |
6 | 1,m\ |
7 | 1,lambda |
7 | 1,lambda |
8 | slib_author=S. Lemaire and Bernadette Perrin-Riou |
8 | slib_author=S. Lemaire and Bernadette Perrin-Riou |
9 | slib_out=random data of m numbers following the Poisson law \ |
- | |
10 | of parameter lambda (positive number) |
- | |
11 | - | ||
12 | 9 | ||
13 | slib_comment= for any nonnegative integer, P(X=i)=exp(-lambda)*(lambda^i)/i! |
10 | slib_comment= for any nonnegative integer, P(X=i)=exp(-lambda)*(lambda^i)/i! |
14 | 11 | ||
15 | slib_example= 5,2.5 |
12 | slib_example= 5,2.5 |
16 | slib_require=octave |
13 | slib_require=octave |