"""simbracket - bracketing root finding by similarity and analogy (compiled). from simbracket import find_root x, nfev, converged = find_root(f, a, b, xtol=1e-12, maxfev=200) f(a) and f(b) must have opposite signs. The run stops when the bracket is no wider than xtol and never stops on |f|; at most evaluation_bound(a, b, xtol) = 2*ceil(log2(|b - a|/xtol)) + 3 evaluations of f are made. """ from ._core import evaluation_bound, find_root __version__ = "1.0.0" __all__ = ["find_root", "evaluation_bound", "__version__"]