Skip to main content

Numerical Analysis methods with Python (experimental)

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


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file numerica-0.1.4.tar.gz.

File metadata

  • Download URL: numerica-0.1.4.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for numerica-0.1.4.tar.gz
Algorithm Hash digest
SHA256 375d36ae17cff8e8b82617b26237209925937c7382bcc2c004ccc313caf1fa3f
MD5 dbd8c946e8a5a0c877bbd61ca36ed59a
BLAKE2b-256 70e8d1357fbf084e5a72ddc8f6c3e3cb1d75c64e549977c31eb312625467ee8f

See more details on using hashes here.

File details

Details for the file numerica-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: numerica-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for numerica-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42e260f3c31b96c5ba6699af47147baea03583aa5ad73719a62c6b79fbd422d6
MD5 4f689647104df3a041fdd668e94b4e8b
BLAKE2b-256 ac3773b8f18bfa87ab4b4bf6df582ec377550ceabd434d136667793307ebfad9

See more details on using hashes here.

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