Maxima Function
random_poisson (m)
random_poisson(m,n)
Returns a Poisson(m) random variate, with m>0. Calling random_poisson
with a second argument n, a random sample of size n will be simulated.
There are two algorithms implemented for this function, the one to be used can be selected giving a certain value to the global variable random_poisson_algorithm
, which defaults to ahrens_dieter
.
See also . To make use of this function, write first load(distrib)
.