Rev 3307 | Rev 4330 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3307 | Rev 4161 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !goto proc |
2 | !goto proc |
3 | !endif |
3 | !endif |
4 | slib_title=Generation of a discrete law with nonnegative coefficients |
- | |
- | 4 | ||
5 | slib_parms=2\ |
5 | slib_parms=2\ |
6 | 2,m\ |
6 | 2,m\ |
7 | 2*m,N\ |
7 | 2*m,N\ |
8 | R, K |
8 | R, K |
9 | 9 | ||
10 | slib_author=S. Lemaire and Bernadette Perrin-Riou |
10 | slib_author=S. Lemaire and Bernadette Perrin-Riou |
11 | slib_out=random data of m>=2 nonnegative real numbers p_1,p_2,..p_m of\ |
- | |
12 | sum 1 such that p_i*N are integers, (N>m). Outputs\ |
- | |
13 | are real (K=R) or rational (K=Q) |
- | |
- | 11 | ||
14 | slib_example= 5,10\ |
12 | slib_example= 5,10\ |
15 | 7,10,Q |
13 | 7,10,Q |
16 | slib_require=pari |
14 | slib_require=pari |
17 | !exit |
15 | !exit |
18 | :proc |
16 | :proc |