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
UEqDiv2Solve Class Reference

#include <u_base_math.hpp>

Inheritance diagram for UEqDiv2Solve:
UEqAbstractSolve

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
 

Detailed Description

Dichotomy equation solve interface

Constructor & Destructor Documentation

UEqDiv2Solve::UEqDiv2Solve ( )

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

Member Function Documentation

void UEqDiv2Solve::setMaxItersNum ( int  n)
inline

Set maximal number of iterations

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

Set ranges

void UEqDiv2Solve::solve ( UEqAbstractFunction func)
virtual

Solve equantion func(x) = 0

Implements UEqAbstractSolve.

Member Data Documentation

int UEqDiv2Solve::itn_max
protected

Maximal number of iteration

double UEqDiv2Solve::zmin
protected

Ranges


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