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 Gamma random data


slib_out=Random data of <tt>m</tt> reals following a Gamma law with parameters <tt>a</tt>> 0 and <tt>b</tt> > 0.\
If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an <tt>r</tt> by <tt>s</tt> matrix. 
slib_comment=The Gamma density at x is b*exp(-b*x)*(b*x)^(a-1)/gamma(a) for x>=0