Skip to main content

A general purpose Python math module

Project description

Build Status Documentation Status PyPI version fury.io PyPI license PyPI pyversions Downloads per month

LibPyMath

A fast, general purpose Python library


Install

Run pip install libpymath to dowload and install libpymath for your operating system and python version. There are also wheels provided for many of the latest Python versions on Windows, Mac OS and Linux thanks to the cibuildwheel project.


Features and usage

Matrix math

Easily create, manipulate and perform calculations with dense matrices. The matrices themselves are stored and manipulated with optimised C code, resulting in faster operations and more efficient calculations.

The matrix library is currently very primitive and supports very few operations, though is constantly being expanded on and improved. Many ease of use features also exist, such as the ability to format and print a matrix, alligning the decimal points (if present) and providing brackets in the relevant places.

For example, the following creates a new matrix from a 2d list of data

from libpymath.matrix import Matrix

matrixData = [[1, 2, 3],
              [4, 5, 6],
              [7, 8, 9]]

mat = Matrix(data=matrixData)

print(mat)

>>> [[1, 2, 3]
     [4, 5, 6]
     [7, 8, 9]]

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

libpymath-0.0.20.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distributions

libpymath-0.0.20-cp38-cp38-manylinux1_x86_64.whl (29.8 kB view hashes)

Uploaded CPython 3.8

libpymath-0.0.20-cp38-cp38-manylinux1_i686.whl (28.9 kB view hashes)

Uploaded CPython 3.8

libpymath-0.0.20-cp37-cp37m-manylinux1_x86_64.whl (29.0 kB view hashes)

Uploaded CPython 3.7m

libpymath-0.0.20-cp37-cp37m-manylinux1_i686.whl (28.1 kB view hashes)

Uploaded CPython 3.7m

libpymath-0.0.20-cp36-cp36m-manylinux1_x86_64.whl (29.0 kB view hashes)

Uploaded CPython 3.6m

libpymath-0.0.20-cp36-cp36m-manylinux1_i686.whl (28.1 kB view hashes)

Uploaded CPython 3.6m

libpymath-0.0.20-cp35-cp35m-manylinux1_x86_64.whl (29.0 kB view hashes)

Uploaded CPython 3.5m

libpymath-0.0.20-cp35-cp35m-manylinux1_i686.whl (28.1 kB view hashes)

Uploaded CPython 3.5m

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