triqs_modest.misc.root_finder
- triqs_modest.misc.root_finder()
 Dispatched C++ function(s).
[1] (method: str, f: (float) -> float, x_init: float, y_value: float, precision: float, delta_x: float, max_loops: int = 1000, x_name: str = "", y_name: str = "", verbosity: bool = False) -> tuple[float, float]
Root finder \(f(x) = 0\).
- Parameters:
 - methodstr
 Root finding method (dichtomy or bisection).
- f(float) -> float
 \(f(x) : \mathbb{R} \to \mathbb{R}\).
- x_initfloat
 Initial value for \(x\).
- y_valuefloat
 Target value for \(y\).
- precisionfloat
 Precision for algorithm.
- delta_xfloat
 Increment of \(x\).
- max_loopsint
 Max number of iterations.
- x_namestr
 Name of \(x\) variable.
- y_namestr
 Name of \(y = f(x)\) variable.
- verbositybool
 Turn on/off logging.
- Returns:
 - tuple[float, float]
 \(x, f(x)\) where \(f(x) = y\).