nonlinear_solvers Module



Subroutines

public subroutine newton_solve(fun, x, tol, max_iter, its, info)

Arguments

Type IntentOptional Attributes Name
public subroutine fun(x, f, J)
Arguments
Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x(:)
real(kind=dp), intent(out) :: f(:)
real(kind=dp), intent(out) :: J(:,:)
real(kind=dp), intent(inout) :: x(:)
real(kind=dp), intent(in) :: tol
integer, intent(in) :: max_iter
integer, intent(out) :: its
integer, intent(out) :: info