double weibullp(double x, double g, double b);
Returns the value of the Weibull random variable distribution function with gamma g and beta b at the value x.
Parameters:
x | Critical point. |
---|---|
g | Shape parameter. |
b | Scale parameter. |
Returns:
P(X ≤ x | g, b)
Errors:
NUMERICS_ERROR
is raised if g ≤ 0, b ≤ 0
Usage:
double p = weibullp(.5, 1.5, 2.75)
Header:
#include "contdist.h"