double expp(double x, double b);
Returns the value of the Exponential random variable distribution function with mean b at the value x.
Parameters:
x | Critical point. |
---|---|
b | Rate parameter. |
Returns:
P(X ≤ x | b)
Errors:
NUMERICS_ERROR
is raised if b ≤ 0
Usage:
double p = expp(.5, 1.5)
Header:
#include "contdist.h"