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
 
3
slib_title=Generation of Gamma random data
4
 
5
 
4455 bpr 6
slib_out=Random data of <tt>m</tt> reals following a Gamma law with parameters <tt>a</tt>> 0 and <tt>b</tt> > 0.\
4352 bpr 7
If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an <tt>r</tt> by <tt>s</tt> matrix. 
4455 bpr 8
slib_comment=The Gamma density at x is b*exp(-b*x)*(b*x)^(a-1)/gamma(a) for x>=0