Returns a sample of the given size from a Exponential distribution.
Same as R's rexp
Options:
:rate (default 1)
See also:
pdf-exp, and cdf-exp
References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Exponential.html
http://en.wikipedia.org/wiki/Exponential_distribution
Example:
(sample-exp 1000 :rate 1/2)
Comments top
No comments for sample-exp. Log in to add a comment.