random_permutation SciMax Toolbox random_poisson_algorithm

SciMax Toolbox >> random_poisson

random_poisson

Maxima Function

Calling Sequence

random_poisson (m)
random_poisson(m,n)

Description

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).

random_permutation SciMax Toolbox random_poisson_algorithm