SimpleNonlinearSolve.jl
Fast and simple nonlinear solvers for the SciML common interface. Newton, Broyden, Bisection, Falsi, and more rootfinders on a standard interface.
Install / Use
/learn @SciML/SimpleNonlinearSolve.jlREADME
SimpleNonlinearSolve.jl
[!WARNING] This package has been moved into a subpackage in NonlinearSolve (https://github.com/SciML/NonlinearSolve.jl/tree/master/lib/SimpleNonlinearSolve). Direct all questions and issues to NonlinearSolve.jl repository
Fast implementations of root finding algorithms in Julia that satisfy the SciML common interface. SimpleNonlinearSolve.jl focuses on low-dependency implementations of very fast methods for very small and simple problems. For the full set of solvers, see NonlinearSolve.jl, of which SimpleNonlinearSolve.jl is just one solver set.
For information on using the package, see the stable documentation. Use the in-development documentation for the version of the documentation which contains the unreleased features.
High Level Examples
using SimpleNonlinearSolve, StaticArrays
f(u, p) = u .* u .- 2
u0 = @SVector[1.0, 1.0]
probN = NonlinearProblem{false}(f, u0)
solver = solve(probN, SimpleNewtonRaphson(), abstol = 1e-9)
## Bracketing Methods
f(u, p) = u .* u .- 2.0
u0 = (1.0, 2.0) # brackets
probB = IntervalNonlinearProblem(f, u0)
sol = solve(probB, ITP())
For more details on the bracketing methods, refer to the Tutorials and detailed APIs
Breaking Changes in v1.0.0
- Batched solvers have been removed in favor of
BatchedArrays.jl. Stay tuned for detailed tutorials on how to useBatchedArrays.jlwithNonlinearSolve&SimpleNonlinearSolvesolvers. - The old style of specifying autodiff with
chunksize,standardtag, etc. has been deprecated in favor of directly specifying the autodiff type, likeAutoForwardDiff. BroydenandKlementhave been renamed toSimpleBroydenandSimpleKlementto avoid conflicts withNonlinearSolve.jl'sGeneralBroydenandGeneralKlement, which will be renamed toBroydenandKlementin the future.LBroydenhas been renamed toSimpleLimitedMemoryBroydento make it consistent withNonlinearSolve.jl'sLimitedMemoryBroyden.
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
17.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
