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.
SUBROUTINE diagmult_r(mat,diag)REAL(SP),DIMENSION(:,:),INTENT(INOUT)::matREAL(SP),INTENT(IN)::diagINTEGER(I4B)::j,nn=min(size(mat,1),size(mat,2))do j=1,nmat(j,j)=mat(j,j)*diagend do END SUBROUTINE diagmult_r