fcn_hybrd Interface

interface
public subroutine fcn_hybrd(n, x, fvec, iflag)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in), dimension(n) :: x
real(kind=wp), intent(out), dimension(n) :: fvec
integer, intent(inout) :: iflag

the value of iflag should not be changed by fcn unless the user wants to terminate execution of hybrd. in this case set iflag to a negative integer.

Description

function for hybrd. calculate the functions at x and return this vector in fvec.