Subversion Repositories wimsdev

Rev

Rev 4455 | Go to most recent revision | 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
 
4986 bpr 5
slib_out=Random data of <tt>m</tt> reals following a Pascal law\
4455 bpr 6
 of parameters <tt>n</tt> and \
4986 bpr 7
<tt>p</tt>.\
4455 bpr 8
 If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an\
9
 <tt>r</tt> by <tt>s</tt> matrix. 
4986 bpr 10
slib_comment= <tt>n</tt> is an integer and <tt>p</tt> a probability. \
11
Simulation of the total number of trials needed to get <tt>n</tt> successes if in each trial the \
12
probability of success is <tt>p</tt>.
4161 bpr 13