Subversion Repositories wimsdev

Rev

Rev 4352 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

slib_lang_exists_tmp=yes

slib_title=Generation of random data with a Geometric distribution on N

slib_out=Random data of <tt>m</tt> reals following a Geometric distribution with parameter <tt>p</tt> on N.\
If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an <tt>r</tt> by <tt>s</tt> matrix. 
slib_comment=P(X=k)=p(1-p)^k for every nonnegative integer k