scipy 1.10.1 Pypi GitHub Homepage
Other Docs

NotesParametersRaisesReturns
newton_krylov(F, xin, iter=None, rdiff=None, method='lgmres', inner_maxiter=20, inner_M=None, outer_k=10, verbose=False, maxiter=None, f_tol=None, f_rtol=None, x_tol=None, x_rtol=None, tol_norm=None, line_search='armijo', callback=None, **kw)

Notes

Parameters

F : function(x) -> f
xin : array_like
rdiff : float, optional
method : str or callable, optional
inner_maxiter : int, optional
inner_M : LinearOperator or InverseJacobian
outer_k : int, optional
inner_kwargs : kwargs
iter : int, optional
verbose : bool, optional
maxiter : int, optional
f_tol : float, optional
f_rtol : float, optional
x_tol : float, optional
x_rtol : float, optional
tol_norm : function(vector) -> scalar, optional
line_search : {None, 'armijo' (default), 'wolfe'}, optional
callback : function, optional

Raises

NoConvergence

Returns

sol : ndarray

See Also

root

scipy.sparse.linalg.gmres
scipy.sparse.linalg.lgmres

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /tmp/tmpyherpfp5/<string>#None
type: <class 'function'>
Commit: