Scythe-1.0.3
template<class RNGTYPE>
double scythe::rng< RNGTYPE >::rchisq ( double  df) [inline]

Generate a $\chi^2$ distributed random variate.

This function returns a pseudo-random variate drawn from the $\chi^2$distribution with df degress of freedom.

Parameters:
dfThe degrees of freedom.
See also:
pchisq(double x, double df)
dchisq(double x, double df)
Exceptions:
scythe_invalid_arg(Level 1)

Referenced by scythe::rng< mersenne >::rbeta(), scythe::rng< mersenne >::rf(), scythe::rng< mersenne >::rmvt(), and scythe::rng< mersenne >::rt().