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 weibullrnd(shape,scale)result(ans)real(8)::shape,scale,temp,ansif(shape<=0d0)then write(*,*)"WEIBULLRND: Shape parameter must be positive"end if if(scale<=0d0)then write(*,*)"WEIBULLRND: Scale parameter must be positive"end ifans=scale*(-log(mersenne()))**(1.d0/shape)end function weibullrnd