Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

pymrm.solve

Back to modules overview

Nonlinear-solver utilities used by pymrm.

View module source on GitHub

Public API

SymbolTypeSummary
clip_approachfunctionProject values onto bounds, optionally with a relaxed approach rule.
newtonfunctionSolve function(x) = 0 with Newton iterations.

clip_approach(values, dummy, lower_bounds = 0, upper_bounds = None, factor = 0)

Open dedicated reference page

Project values onto bounds, optionally with a relaxed approach rule.

Parameters

View source on GitHub

newton(function, initial_guess, args = (), tol = 1.49012e-08, maxfev = 100, solver = None, lin_solver_kwargs = None, callback = None)

Open dedicated reference page

Solve function(x) = 0 with Newton iterations.

Parameters

Returns

Raises

View source on GitHub