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

Generate an inverse gamma distributed random variate.

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

Parameters:
shapeThe strictly positive shape of the distribution.
scaleThe strictly positive scale of the distribution.
See also:
rgamma(double alpha, double beta)
Exceptions:
scythe_invalid_arg(Level 1)

Referenced by scythe::rng< mersenne >::richisq().