Solve small nonlinear systems using Newton steps and Armijo backtracking.
Description
newton_solve accepts a callback returning residuals and a dense Jacobian,
updates the initial guess in place, and reports a convergence code. It is
imported by solve_TP in this source file, although that routine
currently calls newton from yaeos__math_nonlinearsolvers instead.
Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Subroutines
public subroutine newton_solve(fun, x, tol, max_iter, its, info)
Solve a nonlinear system by damped Newton iteration.