The distribution has PDF (probability density function)
i.e.,
is normally distributed with mean
and variance
.
g05smc evaluates
, where the
are generated by
g05skc with mean
and variance
, for
.
One of the initialization functions
g05kfc (for a repeatable sequence if computed sequentially) or
g05kgc (for a non-repeatable sequence) must be called prior to the first call to
g05smc.
Not applicable.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
None.
This example prints five pseudorandom numbers from a log-normal distribution with mean
and variance
, generated by a single call to
g05smc, after initialization by
g05kfc.
None.