Pass parameters to a function within a function

前端 未结 0 1904
谎友^
谎友^ 2021-01-27 21:25

I need to implement this in Fortran:

    do i = 1,n
       xstar = solve(f(x,i),x1,x2)
    end do

solve and f are functions. I need to call solve

相关标签:
回答
  • 消灭零回复
提交回复
热议问题