Scythe-1.0.3
template<class RNGTYPE>
double scythe::rng< RNGTYPE >::rbeta ( double  alpha,
double  beta 
) [inline]

Generate a beta distributed random variate.

This function returns a pseudo-random variate drawn from the beta distribution described by the shape parameters a and b.

Parameters:
alphaThe first positive beta shape parameter.
betathe second positive beta shape parameter.
See also:
pbeta(double x, double a, double b)
dbeta(double x, double a, double b)
betafn(double a, double b)
lnbetafn(double a, double b)
Exceptions:
scythe_invalid_arg(Level 1)