Numericals
Numerical methods in pure Python.
Documentation is available, but it might be easier to just read the code.
Installation
pip install numericals
Algorithms
-
Integration
- Trapezoidal Rule
- Midpoint Rule
- Simpson's Rule
- Monte Carlo
- Gaussian Quadrature
-
ODE
- Euler's Method
- Heun's Method
- Runge-Kutta 4
-
Optimization
- Golden Section Search
-
Root-finding
- Bisection Method
- Secant Method
- Newton's Method
- Regula Falsi
- Illinois Algorithm
Tests
python -m pytest tests
Copyright
Copyright (C) 2026 Andrew Yoo
Numericals is free software. You may redistribute or modify it under the terms of the GNU Lesser General Public License: feel free to choose either version 3.0 or a later one.
You should have received a copy of the GNU LGPL along with this program, located in the LICENSE file. If not, see http://www.gnu.org/licenses/lgpl.
Release files for numericals 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| numericals-0.4.1.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numericals-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.2 kB
Release files / numericals-0.4.1.tar.gz
| Download URL | numericals-0.4.1.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe179bd71acb66e8f570fb7b4994c02e39165263cc1170d8f84de8742064d173
|
|
BLAKE2b-256 checksum How to use checksums |
d23e510593256b38aa12695043bfd488d8b9c9d592a9e56513d6558c535b88a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|
Release files / numericals-0.4.1-py3-none-any.whl
| Download URL | numericals-0.4.1-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3ab2a13eef2dfc76d30d1822f93306e1e85c59e7c8dd64a590b9ba2d90d58c3
|
|
BLAKE2b-256 checksum How to use checksums |
de5e028a6078e8ab6fc3b9c1e727ec6e9612215cb87d1ee22cfc92855c62d15d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|