UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
U3dEqDiv2Solve Class Reference

#include <u3d_nl_eqsolve.hpp>

Inheritance diagram for U3dEqDiv2Solve:
U3dEqAbstractSolve

Public Member Functions

 U3dEqDiv2Solve ()
 
void solve (U3dEqAbstractFunction *func)
 
void setRanges (double zmn, double zmx)
 
void setMaxItersNum (int n)
 
- Public Member Functions inherited from U3dEqAbstractSolve
 U3dEqAbstractSolve ()
 
virtual double getRoot ()
 
virtual double getFunc ()
 

Protected Attributes

int itn_max
 
double zmin
 
double zmax
 
- Protected Attributes inherited from U3dEqAbstractSolve
double cur_root
 
double cur_func
 

Additional Inherited Members

- Static Protected Attributes inherited from U3dEqAbstractSolve
static int num_eq_solve
 

Detailed Description

Dichotomy equation solve interface

Constructor & Destructor Documentation

U3dEqDiv2Solve::U3dEqDiv2Solve ( )

Default constructor with number of iterations provided. Default number of iterations is 15

Member Function Documentation

void U3dEqDiv2Solve::setMaxItersNum ( int  n)
inline

Set maximal number of iterations

void U3dEqDiv2Solve::setRanges ( double  zmn,
double  zmx 
)
inline

Set ranges

void U3dEqDiv2Solve::solve ( U3dEqAbstractFunction func)
virtual

Solve equantion func(x) = 0

Implements U3dEqAbstractSolve.

Member Data Documentation

int U3dEqDiv2Solve::itn_max
protected

Maximal number of iteration

double U3dEqDiv2Solve::zmin
protected

Ranges


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