MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::MultiDimNewtonMethod Class Reference

Newton method for multi-dimensional root-finding. More...

#include <nonlinear_algebra.h>

List of all members.

Public Member Functions

 MultiDimNewtonMethod (Function1< fmatvec::Vec, fmatvec::Vec > *fct_, Function1< fmatvec::SqrMat, fmatvec::Vec > *jac_=0)
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_)
fmatvec::Vec solve (const fmatvec::Vec &x)
 solve nonlinear root function

Private Attributes

Function1< fmatvec::Vec,
fmatvec::Vec > * 
fct
 root function
Function1< 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

Detailed Description

Newton method for multi-dimensional root-finding.

Author:
Martin Foerg
Date:
2009-07-10 some comments (Thorsten Schindler)

Member Function Documentation

fmatvec::Vec MBSim::MultiDimNewtonMethod::solve ( const fmatvec::Vec &  x)

solve nonlinear root function

Parameters:
initialvalue

The documentation for this class was generated from the following file: