random_discrete_uniform SciMax Toolbox random_exp_algorithm

SciMax Toolbox >> random_exp

random_exp

Maxima Function

Calling Sequence

random_exp (m)
random_exp(m,k)

Description

Returns an Exponential(m) random variate, with m>0. Calling random_exp with a second argument k, a random sample of size k will be simulated.

There are three algorithms implemented for this function, the one to be used can be selected giving a certain value to the global variable random_exp_algorithm, which defaults to inverse.

See also . To make use of this function, write first load(distrib).

random_discrete_uniform SciMax Toolbox random_exp_algorithm