Subversion Repositories wimsdev

Rev

Rev 4352 | 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
 
4455 bpr 3
slib_title=Generation of random data with a Geometric distribution on N
4161 bpr 4
 
4455 bpr 5
slib_out=Random data of <tt>m</tt> reals following a Geometric distribution with parameter <tt>p</tt> on N.\
4352 bpr 6
If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an <tt>r</tt> by <tt>s</tt> matrix. 
4455 bpr 7
slib_comment=P(X=k)=p(1-p)^k for every nonnegative integer k