mbsim 4.0.0 MBSim Kernel

Public Member Functions | Private Attributes | List of all members
MBSim::RegulaFalsi Class Reference

Regular Falsi for one-dimensional root-finding. More...

`#include <nonlinear_algebra.h>`

## Public Member Functions

| RegulaFalsi (Function< double(double)> *f)
int | getNumberOfIterations () const
int | getInfo () const
void | setMaximumNumberOfIterations (int itmax_)
void | setTolerance (double tol_)
double | solve (double a, double b)
| solve nonlinear root function More...

## Private Attributes

Function< double(double)> * | func
| root function
int | itmax
| maximum number of iterations, actual number of iterations, information about success (0 = ok, -1 = not converged, -2 = no root)
int | it
int | info
double | tol
| tolerance

## Detailed Description

Regular Falsi for one-dimensional root-finding.

Author
  Martin Foerg

Date
  2009-07-10 some comments (Thorsten Schindler)

## Member Function Documentation

## ◆ solve()

double MBSim::RegulaFalsi::solve | ( | double | a,
|  | double | b
| ) |  |

solve nonlinear root function

Parameters

  left | border
  right | border

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

- /mbsim-env/mbsim/kernel/mbsim/utils/nonlinear_algebra.h
- /mbsim-env/mbsim/kernel/mbsim/utils/nonlinear_algebra.cc