Scythe-1.0.3
template<class RNGTYPE>
double scythe::rng< RNGTYPE >::rnorm ( double  mean = 0,
double  sd = 1 
) [inline]

Generate a normally distributed random variate.

This function returns a pseudo-random variate drawn from the normal distribution with given mean and standard distribution.

Parameters:
meanThe mean of the distribution.
sdThe standard deviation of the distribution.
See also:
pnorm(double x, double mean, double sd)
dnorm(double x, double mean, double sd)
Exceptions:
scythe_invalid_arg(Level 1)

Referenced by scythe::rng< mersenne >::rlnorm(), scythe::rng< mersenne >::rmvnorm(), scythe::rng< mersenne >::rtanorm_combo(), scythe::rng< mersenne >::rtbnorm_combo(), scythe::rng< mersenne >::rtnorm_combo(), and scythe::rng< mersenne >::rwish().