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.


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

jmath-3.5.14-py3.9.egg (50.9 kB view hashes)

Uploaded Source

jmath-3.5.14-py3-none-any.whl (22.8 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