VERB_code_2.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
bisection.h
Go to the documentation of this file.
1
9
#ifndef BISECTION_H
10
#define BISECTION_H
11
13
#define max_error 1E-15
14
23
double
bisection
(
24
double
(*f)(
double
x,
double
Alpha),
25
double
Alpha,
26
double
x0 = -1E+7,
27
double
x1 = 1E+7,
28
double
eps =
max_error
);
29
30
#endif
bisection
double bisection(double(*f)(double x, double Alpha), double Alpha, double x0=-1E+7, double x1=1E+7, double eps=max_error)
Looking for roots of function f for given Alpha on the interval x0-x1.
Definition:
bisection.cpp:22
max_error
#define max_error
define max_error maximum error after calculation
Definition:
bisection.h:13
EPSS
VERB
verb-2-0
VariousFunctions
bisection.h
Generated by
1.8.10