func Abstract Interface

abstract interface
public subroutine func(n, x, fvec, iflag)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: n

the number of variables.

real(kind=wp), intent(in) :: x(n)

independent variable vector

real(kind=wp), intent(out) :: fvec(n)

value of function at x

integer, intent(inout) :: iflag

set to <0 to terminate execution

Description

user-supplied subroutine for hybrd, hybrd1, and fdjac1