The distribution has PDF (probability density function)
g05scc returns the value
where
and
are a pair of consecutive pseudorandom numbers from a uniform distribution over
, such that
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
g05scc.
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 the first five pseudorandom real numbers from a Cauchy distribution with median
and semi-interquartile range
, generated by a single call to
g05scc, after initialization by
g05kfc.
None.