Skip to main content

Mathematics Tools

Project description

jmath

jmath is a hobby project developing a set of mathematical tools in the Python Language.


Installation

Open a terminal/command prompt and use pip install jmath.


Documentation

Documentation can be found at https://jordanhay.com/jmath


Components

Uncertainties (jmath.uncertainties)

Provides the Uncertainty object for doing calculations upon values with associated uncertainties. The jmath.Uncertainty object is provided by default in the top-level package.

Linear Algebra (jmath.linearalgebra)

Provides Vector, Point, and Line objects to do linearalgebra with. These are also used as building blocks for other submodules. The jmath.Vector, jmath.Point, and jmath.Vector objects are provided by default in the top-level package.

Modular (jmath.modular)

Simple tools for use in modular arithmetic. jmath.modular_inverse and jmath.extended_gcd are provided by default in the top-level package.

Physics (jmath.physics)

Rudimentary classification of physical objects (jmath.physics.mechanics), circuits (jmath.physics.circuits), and SI prefixes (jmath.physics.prefixes).

Approximation (jmath.approximation)

Euler (jmath.approximation.euler_method) and Newton Method (jmath.approximation.newton_method) for approximation of Differential equations and Roots (respectively).

Abstract (jmath.abstract)

Provides implementations of abstract data types, including linked lists, stacks, and queues.

Cryptography (jmath.cryptography)

Provides tools for rudimentary cryptography. Currently provides Affine cipher (jmath.cryptography.affine) as well as character frequency analysis (jmath.cryptography.tools).

Discrete (jmath.discrete)

Node, Graph, and Loop objects for use in Graph based maths.

Graphics (jmath.graphics)

Objects for easy creation of graphics, used by physics to draw 2d simulations.


Testing

Open a terminal in the root director and run pytest tests/, this requires pytest. Tests are automatically run in Github by a Github Action.


Github Workflows

Github workflows help automate testing, updating the requirements, and publishing this repo.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

jmath-3.7.6-py3.9.egg (73.2 kB view details)

Uploaded Egg

jmath-3.7.6-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file jmath-3.7.6-py3.9.egg.

File metadata

  • Download URL: jmath-3.7.6-py3.9.egg
  • Upload date:
  • Size: 73.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for jmath-3.7.6-py3.9.egg
Algorithm Hash digest
SHA256 f042d814ab7ce78ca1a27e122875606d939d807a55ef12e5cc56aeb4f3834034
MD5 60e7709a43fc627e7813ac8d99226409
BLAKE2b-256 719ac850a84f996c7fcbd24a81e1a321ccd00c67f456e45c5af5deb2c69bad90

See more details on using hashes here.

File details

Details for the file jmath-3.7.6-py3-none-any.whl.

File metadata

  • Download URL: jmath-3.7.6-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for jmath-3.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 09a49daf15ae7df5ed88c32843cb59feef7a3b6d849009f0f8117f281bfd1c8c
MD5 cc7d54f387f13f575688aa22cb9b9a5f
BLAKE2b-256 bef8662b5b35ddd07302c2486fc85ea3cb274dd09a555b3d8acc01ff424e1d22

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