simpeg.optimization.NewtonRoot#
- class simpeg.optimization.NewtonRoot(**kwargs)[source]#
Bases:
object
Newton Method - Root Finding
root = newtonRoot(fun,x);
Where fun is the function that returns the function value as well as the gradient.
For iterative solving of dh = -Jr, use O.solveTol = TOL. For direct solves, use SOLVETOL = 0 (default)
Rowan Cockett 16-May-2013 16:29:51 University of British Columbia rcockett@eos.ubc.ca
Methods
Solver
(A[, check_accuracy, check_rtol, ...])Wrapped Solver solver.
root
(fun, x)Function Should have the form.