#include <cmath>
#include <functional>
#include <iostream>
Go to the source code of this file.
|
double | f (const double x) |
|
double | g (const double x) |
|
double | h (const double x) |
|
double | t (const double x) |
|
double | Bisect (const double a, const double b, const double eps) |
|
double | Bisect (const double a, const double b) |
|
double | Bisect (const std::function< double(double)> &func, const double a, const double b, const double eps) |
|
int | main () |
|
|
constexpr double | EPS = 1e-6 |
|
◆ Bisect() [1/3]
double Bisect |
( |
const double |
a, |
|
|
const double |
b |
|
) |
| |
◆ Bisect() [2/3]
double Bisect |
( |
const double |
a, |
|
|
const double |
b, |
|
|
const double |
eps |
|
) |
| |
◆ Bisect() [3/3]
double Bisect |
( |
const std::function< double(double)> & |
func, |
|
|
const double |
a, |
|
|
const double |
b, |
|
|
const double |
eps |
|
) |
| |
◆ f()
double f |
( |
const double |
x | ) |
|
◆ g()
double g |
( |
const double |
x | ) |
|
◆ h()
double h |
( |
const double |
x | ) |
|
◆ main()
◆ t()
double t |
( |
const double |
x | ) |
|
◆ EPS
constexpr double EPS = 1e-6 |
|
constexpr |