Scythe-1.0.3
template<class RNGTYPE>
double scythe::rng< RNGTYPE >::rweibull ( double  shape,
double  scale 
) [inline]

Generate a Weibull distributed random variate.

This function returns a pseudo-random variate drawn from the Weibull distribution with given shape and scale.

Parameters:
shapeThe strictly positive shape of the distribution.
scaleThe strictly positive scale of the distribution.
See also:
pweibull(double x, double shape, double scale)
dweibull(double x, double shape, double scale)
Exceptions:
scythe_invalid_arg(Level 1)