Hello,
Here is my main program:
...
use func
use mult
...
print*, my_function(func,dfunc)
...
Both func and dfunc are defined in module func:
...
function func(x)
real :: func
...
endfunction func
function dfunc
real, dimension(2) :: dfunc
...
endfunction dfunc
Also, my_function is defined in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.