No project description provided
Project description
msmath package
mathematical Python classes
Classes implementing
- finite fields (ffield.py)
- Z_m finite rings (fring.py)
- rationals: real, complex, quaternion (rational.py)
- quaternions (quaternion.py)
- binary matrices and matrices over any ring (matrix.py)
- single-variable polynomials and rational functions with coefficients in any field (poly.py)
- undirected graphs (graph.py)
- bitstrings (bitstrings.py)
Support modules:
- conversions.py: utilities for Python 2 and 3 compatibility
- numfuns.py: assorted numerical functions
- ffpoly.py: functions to enumerate irreducible polynomials mod p
Demonstration modules:
- bch.py: create BCH codes using the classes
- share.py: secret sharing using finite fields
- optable.py: create a printable op table for a finite ring
Standalone test programs for the various classes are included:
- test_bitstring.py tests bitstring classes
- test_ffield.py primarily tests ffield.py, but also uses matrix.py and poly.py
- test_matrix.py primarily tests matrix.py, but also uses poly.py and rational.py
- test_poly.py primarily tests poly.py, but also uses ffield.py and rational.py
- test_rational.py tests rational classes
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
msmath-1.0.14.tar.gz
(128.2 kB
view details)
Built Distributions
msmath-1.0.14-py3-none-any.whl
(104.2 kB
view details)
msmath-1.0.14-py2-none-any.whl
(91.6 kB
view details)
File details
Details for the file msmath-1.0.14.tar.gz
.
File metadata
- Download URL: msmath-1.0.14.tar.gz
- Upload date:
- Size: 128.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81057879f064fdc3bba5a5409b5bfdd515d93a57823f679c0175099acf8e9de |
|
MD5 | 78eb6ea148638241ab49ba755b1cd80a |
|
BLAKE2b-256 | 8d0cd9209b83cb2a497a145fa488e6297925ceedd18d118d2ade186b22f1603c |
File details
Details for the file msmath-1.0.14-py3-none-any.whl
.
File metadata
- Download URL: msmath-1.0.14-py3-none-any.whl
- Upload date:
- Size: 104.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47927948fd83b862bb7110454bea565c8384c07a647c75d04a0481cc0630d876 |
|
MD5 | 82a8e654689acca3a145b68be7b6cbe8 |
|
BLAKE2b-256 | 6851fbd61c3bbbf71020120edc73aa5f68b5b1f5cb7db4362daf10ca01fe7c0c |
File details
Details for the file msmath-1.0.14-py2-none-any.whl
.
File metadata
- Download URL: msmath-1.0.14-py2-none-any.whl
- Upload date:
- Size: 91.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d1eed8722b4449d0cdd4ac34647680a21272a2a56123d4711b6a2fd9a6e7346 |
|
MD5 | 73dbce84b7789aaf21ca08baacb08b5f |
|
BLAKE2b-256 | 674a42dd10d01bfc09a0ee917dfa046cd42f2c8bad75e4715c5afe46e578ffc7 |