|
Janus 2.0.0
High-performance C++20 dual-mode numerical framework
|
Persistent nonlinear root solver. More...
#include <RootFinding.hpp>
Public Member Functions | |
| NewtonSolver (const janus::Function &F, const RootFinderOptions &opts={}) | |
| Construct a new persistent nonlinear solver. | |
| template<typename Scalar> | |
| RootResult< Scalar > | solve (const Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > &x0) const |
| Solve F(x) = 0 from initial guess x0. | |
Persistent nonlinear root solver.
Numeric solves use a globalization stack with trust-region Newton, line search Newton, Broyden, and pseudo-transient continuation. Symbolic solves still embed CasADi's differentiable newton rootfinder in the graph.
|
inline |
|
inline |
Solve F(x) = 0 from initial guess x0.