Subversion Repositories wimsdev

Rev

Rev 4986 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4161 bpr 1
slib_lang_exists_tmp=yes
2
 
4986 bpr 3
slib_title=Generation of Pascal random data
4161 bpr 4
 
5903 bpr 5
slib_out=Random data of <span class="tt">m</span> reals following a Pascal law\
6
 of parameters <span class="tt">n</span> and \
7
<span class="tt">p</span>.\
8
 If <span class="tt">m</span> is a list <span class="tt">[r,s]</span>, it returns an\
9
 <span class="tt">r</span> by <span class="tt">s</span> matrix. 
10
slib_comment= <span class="tt">n</span> is an integer and <span class="tt">p</span> a probability. \
11
Simulation of the total number of trials needed to get <span class="tt">n</span> successes if in each trial the \
12
probability of success is <span class="tt">p</span>.
4161 bpr 13