⚠️ This project is deprecated and no longer maintained
rootfinding finds roots by bisecting a bracketing interval until the value of the function can be considered sufficiently close to zero. The scheme differs slightly from the implementation of bisection in SciPy: it is better suited for cases where a maximum acceptable residual is a more useful termination criterion than a tolerance for the argument variable, and can lead to fewer function evaluations overall.
The small library also contains functionality to automatically search for a bracket of a root when one is not known. While the library will always start by checking the inputs, it is possible to avoid redundant function calls by providing known values of the function—similarly, objects returned (and exceptions raised) by the library helpfully include function values that may be of interest. rootfinding was first developed as an internal module of our other project Fronts.
To use this library, install rootfinding from PyPI as $ pip install rootfinding. Alternatively, you may copy the rootfinding.py file from the source code directly into your project (you must retain the copyright notice and license).
Documentation is available on Read the Docs.
Metadata
Release files for rootfinding 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rootfinding-1.0.4.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rootfinding-1.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / rootfinding-1.0.4.tar.gz
| Download URL | rootfinding-1.0.4.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53feef844c20d2b03a9ab528798a12a9e467cea535a31da0e9296f700f0866d6
|
|
BLAKE2b-256 checksum How to use checksums |
5debcae922ad2c734fc67ee4c3639cba561b772153d9114d76a77dd5bc756b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / rootfinding-1.0.4-py2.py3-none-any.whl
| Download URL | rootfinding-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b53ba77e5a5ffb7de4562b0d4a186a0fada45790b40bd0a9832789dd55993c3c
|
|
BLAKE2b-256 checksum How to use checksums |
8f3dbd5bcbbc61e065dc7af710e4a4b2296bba6dad891970cf86ad9a2ce8cb5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|