Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
FUNCTION random_chisq(ndf,first)RESULT(fn_val)! Generates a random variate from the chi-squared distribution with! ndf degrees of freedomINTEGER,INTENT(IN)::ndfLOGICAL,INTENT(IN)::firstREAL::fn_valfn_val=two*random_gamma(half*ndf,first)RETURNEND FUNCTION random_chisq