nag_return_multi_normal (g05ezc) generates a pseudorandom multivariate Normal vector taken from a distribution described by a reference vector set up by
nag_ref_vec_multi_normal (g05eac).
nag_return_multi_normal (g05ezc) is designed for use in conjunction with
nag_ref_vec_multi_normal (g05eac). The description of
nag_ref_vec_multi_normal (g05eac) should be referred to for a specification of the operation of these two functions.
None.
The accuracy is discussed in the document for
nag_ref_vec_multi_normal (g05eac).
The time taken by nag_return_multi_normal (g05ezc) is of the order
where
and
are appreciably (say 10-20 times) larger than
.
The example program prints five pseudorandom observations from a bivariate Normal distribution with means vector
and covariance matrix
generated by
nag_ref_vec_multi_normal (g05eac) and nag_return_multi_normal (g05ezc) after initialization by
nag_random_init_repeatable (g05cbc).
None.