Skip to main content

Numericals

PyPI version PyPI Downloads License: LGPL-3.0-or-later Ruff


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 (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)

Source distribution for numericals 0.4.1
File Size Uploaded
numericals-0.4.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for numericals 0.4.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page