|
mbsim
4.0.0
MBSim Kernel
|
Newton method for multi-dimensional root-finding. More...
#include <nonlinear_algebra.h>
Public Member Functions | |
| MultiDimNewtonMethod (Function< fmatvec::Vec(fmatvec::Vec)> *fct_, Function< fmatvec::SqrMat(fmatvec::Vec)> *jac_=nullptr) | |
| int | getNumberOfIterations () const |
| int | getNumberOfMaximalIterations () const |
| int | getInfo () const |
| std::vector< double > | getNorms () |
| void | setMaximumNumberOfIterations (int itmax_) |
| void | setMaximumDampingSteps (int kmax_) |
| void | setTolerance (double tol_) |
| void | setLinearAlgebra (int linAlg_) |
| fmatvec::Vec | solve (const fmatvec::Vec &x) |
| solve nonlinear root function More... | |
Private Attributes | |
| Function< fmatvec::Vec(fmatvec::Vec)> * | fct |
| root function | |
| Function< fmatvec::SqrMat(fmatvec::Vec)> * | jac |
| Jacobian matrix. | |
| int | itmax |
| maximum number of iterations, actual number of iterations, maximum number of damping steps, information about success | |
| int | iter |
| int | kmax |
| int | info |
| std::vector< double > | norms |
| vector of norms for each iteration step | |
| double | tol |
| tolerance | |
| int | linAlg |
Newton method for multi-dimensional root-finding.
| Vec MBSim::MultiDimNewtonMethod::solve | ( | const fmatvec::Vec & | x | ) |
solve nonlinear root function
| initial | value |