The probability density function for a Weibull(a) distributed random variable X, f(x), is:
where the shape parameter, a, must be positive.
- double Weibull_Random_Variate( double a )
This function returns X where X is a random variate with the density given above. Note that a must be positive.