triqs.utility.bound_and_bisect

One-dimensional root finding by bracketing and bisection.

A typical TRIQS use case is adjusting the chemical potential \(\mu\) so that the particle density reaches a target value.

Functions

bound_and_bisect(f, x_0[, y, dx, xtol, ...])

Solve \(f(x) = y\) for a monotonic function f.

determine_bounds(F, x_0, dx, maxiter)

Bracket a sign change of a monotonic real-valued function.