Skip to content

andrew-yoo/numericals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Numerical methods in pure Python

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages