Newton method for one-dimensional root-finding.
More...
#include <nonlinear_algebra.h>
List of all members.
Public Member Functions |
|
| NewtonMethod (Function1< double, double > *fct_, Function1< double, double > *jac_=0) |
|
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
|
Private Attributes |
|
Function1< double, double > * | fct |
| | root function
|
|
Function1< 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
|
Detailed Description
Newton method for one-dimensional root-finding.
- Author:
- Martin Foerg
- Date:
- 2009-07-10 some comments (Thorsten Schindler)
Member Function Documentation
| double MBSim::NewtonMethod::solve |
( |
const double & |
x | ) |
|
solve nonlinear root function
- Parameters:
-
The documentation for this class was generated from the following file: