|
mbsim
4.0.0
MBSim Kernel
|
Newton method for one-dimensional root-finding. More...
#include <nonlinear_algebra.h>
Public Member Functions | |
| NewtonMethod (Function< double(double)> *fct_, Function< double(double)> *jac_=nullptr) | |
| int | getNumberOfIterations () const |
| int | getInfo () const |
| void | setMaximumNumberOfIterations (int itmax_) |
| void | setMaximumDampingSteps (int kmax_) |
| void | setTolerance (double tol_) |
| double | solve (const double &x) |
| solve nonlinear root function More... | |
Private Attributes | |
| Function< double(double)> * | fct |
| root function | |
| Function< double(double)> * | 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 |
| double | tol |
| tolerance | |
Newton method for one-dimensional root-finding.
| double MBSim::NewtonMethod::solve | ( | const double & | x | ) |
solve nonlinear root function
| initial | value |