This function evaluates the exponential probability density function.
Function Return Value
EXPPR — Function value, the value of the probability density function. (Output)
Required Arguments
X — Argument for which the exponential probability density function is to be evaluated. (Input)
B — Scale parameter of the exponential probability density function. (Input)
FORTRAN 90 Interface
Generic: EXPPR (X, B)
Specific: The specific interface names are S_EXPPR and D_EXPPR.
FORTRAN 77 Interface
Single: EXPPR (X, B)
Double: The double precision name is DEXPPR.
Description
The function EXPPR evaluates the exponential probability density function. The exponential distribution is a special case of the gamma distribution and is defined as
This relationship is used in the computation of.
Example
In this example, we evaluate the probability function at X = 2.0, B = 1.0.