Sequence of Bisect implementations
Bisect6.cpp File Reference
#include <cmath>
#include <functional>
#include <iostream>
Include dependency graph for Bisect6.cpp:

Go to the source code of this file.

Functions

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 ()
 

Variables

constexpr double EPS = 1e-6
 

Function Documentation

◆ Bisect() [1/3]

double Bisect ( const double  a,
const double  b 
)

Definition at line 146 of file Bisect6.cpp.

Here is the call graph for this function:

◆ Bisect() [2/3]

double Bisect ( const double  a,
const double  b,
const double  eps 
)

Definition at line 124 of file Bisect6.cpp.

Here is the caller graph for this function:

◆ Bisect() [3/3]

double Bisect ( const std::function< double(double)> &  func,
const double  a,
const double  b,
const double  eps 
)

Definition at line 169 of file Bisect6.cpp.

Here is the call graph for this function:

◆ f()

double f ( const double  x)

Definition at line 15 of file Bisect6.cpp.

Here is the caller graph for this function:

◆ g()

double g ( const double  x)

Definition at line 20 of file Bisect6.cpp.

Here is the caller graph for this function:

◆ h()

double h ( const double  x)

Definition at line 25 of file Bisect6.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 44 of file Bisect6.cpp.

Here is the call graph for this function:

◆ t()

double t ( const double  x)

Definition at line 30 of file Bisect6.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ EPS

constexpr double EPS = 1e-6
constexpr

Definition at line 13 of file Bisect6.cpp.