Skip to main content

Numerical Analysis methods with Python (experimental)

None

Project description

Numerica

My own experimental implementations of numerical methods as homework.

Examples

Solving Nonlinear Equations

Graph

import numerica as n

fn = n.fnx(degree=2, coefficients=[5, -6, 1], baseExp=1)

root1 = n.graph(fn=fn, dx=1, epsilon=0.1, x=0)
root2 = n.graph(fn=fn, dx=1, epsilon=0.1, x=2)

print(root1, root2)

Testing Package

Test Directly as Script
python3.8 -m numerica
or Install Local Package
pip3.8 install .
and Test It from REPL
import numerica
numerica.utils.function.fnx(2, [5, -6, 1], 1, 5) == 0

Uploading to PyPI

Install Twine
pip3.8 install twine
Build
rm -rf build & rm -rf dist & rm -rf numerica.egg-info
python3.8 setup.py sdist bdist_wheel
Upload
twine upload dist/*

Project details

None

Download files

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

Source Distribution

numerica-0.1.4.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

numerica-0.1.4-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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