{"library":"pyroots","title":"pyroots","description":"Pure Python single-variable function solvers. Provides root-finding algorithms such as bisection, Newton-Raphson, secant, and others. Current version: 0.5.0. Release cadence is low (last release 2021).","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pyroots"],"cli":null},"imports":["from pyroots import bisection","from pyroots import newton","from pyroots import secant","from pyroots import ridders","from pyroots import brent"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyroots import bisection\n\ndef f(x):\n    return x**3 - 2*x - 5\n\nroot = bisection(f, 2, 3)\nprint(f\"Root: {root:.6f}\")","lang":"python","description":"Find a root of f(x)=x^3 - 2x -5 in interval [2,3] using bisection.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}