Maxima Function
random_exp (m)
random_exp(m,k)
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)
.