Skip to main content

Numerical methods in pure python

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numericals-0.4.1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numericals-0.4.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file numericals-0.4.1.tar.gz.

File metadata

  • Download URL: numericals-0.4.1.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for numericals-0.4.1.tar.gz
Algorithm Hash digest
SHA256 fe179bd71acb66e8f570fb7b4994c02e39165263cc1170d8f84de8742064d173
MD5 1d701b5a5ac6abf3a086c2258df3ff3d
BLAKE2b-256 d23e510593256b38aa12695043bfd488d8b9c9d592a9e56513d6558c535b88a6

See more details on using hashes here.

File details

Details for the file numericals-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: numericals-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for numericals-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ab2a13eef2dfc76d30d1822f93306e1e85c59e7c8dd64a590b9ba2d90d58c3
MD5 ae4262c5dca647f3a8d85f4b1fa18246
BLAKE2b-256 de5e028a6078e8ab6fc3b9c1e727ec6e9612215cb87d1ee22cfc92855c62d15d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page