#include <root_finding.hh>
|
using | FUN = std::function<bool(const double)> |
|
using | FUN_ARR = std::function<bool(const std::array<double, 1> &)> |
|
◆ BisectionRootFinder()
DiFfRG::BisectionRootFinder::BisectionRootFinder |
( |
const FUN & | f, |
|
|
const double | abs_tol = 1e-4, |
|
|
const int | max_iter = 1000 ) |
|
inline |
◆ search_impl()
std::array< double, 1 > DiFfRG::BisectionRootFinder::search_impl |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ set_bounds()
void DiFfRG::BisectionRootFinder::set_bounds |
( |
const double | x_min, |
|
|
const double | x_max ) |
|
inline |
◆ set_next_x()
void DiFfRG::BisectionRootFinder::set_next_x |
( |
const std::function< double(double, double)> & | next_x | ) |
|
|
inline |
◆ set_x_max()
void DiFfRG::BisectionRootFinder::set_x_max |
( |
const double | x_max | ) |
|
|
inline |
◆ set_x_min()
void DiFfRG::BisectionRootFinder::set_x_min |
( |
const double | x_min | ) |
|
|
inline |
◆ next_x
std::function<double(double, double)> DiFfRG::BisectionRootFinder::next_x |
|
protected |
Initial value:
}
double x_max
Definition root_finding.hh:118
double x_min
Definition root_finding.hh:117
◆ x_max
double DiFfRG::BisectionRootFinder::x_max |
|
protected |
◆ x_min
double DiFfRG::BisectionRootFinder::x_min |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG/DiFfRG/DiFfRG/include/DiFfRG/common/root_finding.hh