Go to the
first
,
previous
,
next
,
last
section,
table of contents
.
The Exponential Distribution
Random:
double
gsl_ran_exponential
(const gsl_rng *
r
, double
mu
)
This function returns a random variate from the exponential distribution with mean
mu
. The distribution is,
for @c{$x \ge 0$} @math{x >= 0}.
Function:
double
gsl_ran_exponential_pdf
(double
x
, double
mu
)
This function computes the probability density @math{p(x)} at
x
for an exponential distribution with mean
mu
, using the formula given above.
Go to the
first
,
previous
,
next
,
last
section,
table of contents
.