The distribution has PDF (probability density function)
nag_rand_f (g05shc) calculates the values
where
and
are generated by
nag_rand_gamma (g05sjc) from gamma distributions with parameters
and
respectively (i.e., from
-distributions with
and
degrees of freedom).
One of the initialization functions
nag_rand_init_repeatable (g05kfc) (for a repeatable sequence if computed sequentially) or
nag_rand_init_nonrepeatable (g05kgc) (for a non-repeatable sequence) must be called prior to the first call to nag_rand_f (g05shc).
Not applicable.
nag_rand_f (g05shc) is threaded by NAG for parallel execution in multithreaded implementations of the NAG Library.
Please consult the
Users' Note for your implementation for any additional implementation-specific information.
This example prints five pseudorandom numbers from an
-distribution with two and three degrees of freedom, generated by a single call to nag_rand_f (g05shc), after initialization by
nag_rand_init_repeatable (g05kfc).
None.