BisectionRootFinder Class Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
DiFfRG::BisectionRootFinder Class Reference
#include <root_finding.hh>
Inheritance diagram for DiFfRG::BisectionRootFinder:
Public Member Functions | |
| BisectionRootFinder (const FUN &f, const double abs_tol=1e-4, const int max_iter=1000) | |
| void | set_x_min (const double x_min) |
| void | set_x_max (const double x_max) |
| void | set_bounds (const double x_min, const double x_max) |
| void | set_next_x (const std::function< double(double, double)> &next_x) |
Public Member Functions inherited from DiFfRG::AbstractRootFinder< 1 > | |
| AbstractRootFinder (const FUN &f, const double abs_tol=1e-4, const int max_iter=1000) | |
| AbstractRootFinder (const FUN_ARR &f, const double abs_tol=1e-4, const int max_iter=1000) | |
| void | set_abs_tol (const double abs_tol) |
| void | set_max_iter (const uint max_iter) |
| uint | get_iter () const |
| double | search () |
Protected Member Functions | |
| std::array< double, 1 > | search_impl () override |
Protected Attributes | |
| double | x_min |
| double | x_max |
| std::function< double(double, double)> | next_x |
Protected Attributes inherited from DiFfRG::AbstractRootFinder< 1 > | |
| FUN_ARR | f |
| double | abs_tol |
| uint | max_iter |
| uint | iter |
Additional Inherited Members | |
Protected Types inherited from DiFfRG::AbstractRootFinder< 1 > | |
| using | FUN = std::function< bool(const double)> |
| using | FUN_ARR = std::function< bool(const std::array< double, 1 > &)> |
Constructor & Destructor Documentation
◆ BisectionRootFinder()
|
inline |
Member Function Documentation
◆ search_impl()
|
inlineoverrideprotectedvirtual |
Implements DiFfRG::AbstractRootFinder< 1 >.
◆ set_bounds()
◆ set_next_x()
|
inline |
◆ set_x_max()
◆ set_x_min()
Member Data Documentation
◆ next_x
Initial value:
}
◆ x_max
|
protected |
◆ x_min
|
protected |
The documentation for this class was generated from the following file:
- /__w/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/root_finding.hh
Generated by
Public Member Functions inherited from