![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <u_base_math.hpp>
Public Member Functions | |
| UEqDiv2Solve () | |
| void | solve (UEqAbstractFunction *func) |
| void | setRanges (double zmn, double zmx) |
| void | setMaxItersNum (int n) |
Public Member Functions inherited from UEqAbstractSolve | |
| UEqAbstractSolve () | |
| virtual | ~UEqAbstractSolve () |
| virtual double | getRoot () |
| virtual double | getFunc () |
Protected Attributes | |
| int | itn_max |
| double | zmin |
| double | zmax |
Protected Attributes inherited from UEqAbstractSolve | |
| double | cur_root |
| double | cur_func |
Additional Inherited Members | |
Static Protected Attributes inherited from UEqAbstractSolve | |
| static int | num_eq_solve |
Dichotomy equation solve interface
| UEqDiv2Solve::UEqDiv2Solve | ( | ) |
Default constructor with number of iterations provided. Default number of iterations is 15
|
inline |
Set maximal number of iterations
|
inline |
Set ranges
|
virtual |
Solve equantion func(x) = 0
Implements UEqAbstractSolve.
|
protected |
Maximal number of iteration
|
protected |
Ranges
1.8.5