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.22.tar.gz
(129.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
msmath-1.0.22-py3-none-any.whl
(105.0 kB
view details)
msmath-1.0.22-py2-none-any.whl
(92.3 kB
view details)
File details
Details for the file msmath-1.0.22.tar.gz.
File metadata
- Download URL: msmath-1.0.22.tar.gz
- Upload date:
- Size: 129.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ebf3573de4f14f628fa17ae7e7069286f59ae0d5db6cdd586ec6ecd1daeec11
|
|
| MD5 |
26cef99f47a02abd9fcddb43948eecad
|
|
| BLAKE2b-256 |
8a49f85d9716c1332b0ea8ad321d49ff0ddaf33d298e6d1c2704c0eb06563a42
|
File details
Details for the file msmath-1.0.22-py3-none-any.whl.
File metadata
- Download URL: msmath-1.0.22-py3-none-any.whl
- Upload date:
- Size: 105.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e847300cca2c5ba016a693b9d2bdab6e5b5dc1cd095550b7f223f28e7529725e
|
|
| MD5 |
7db9dd62411dc8883aaa21cdf0eb62b8
|
|
| BLAKE2b-256 |
40cb16c30740a580a26af6d70cf0a35028714fc2fc65682619bd3406e4714fac
|
File details
Details for the file msmath-1.0.22-py2-none-any.whl.
File metadata
- Download URL: msmath-1.0.22-py2-none-any.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68a88c8411bea281ec37487d8e6633577c6f0b1e9869b5eea6c07d9dffa2649b
|
|
| MD5 |
1cd6c5e5d2f2391e03c34cd547f138e4
|
|
| BLAKE2b-256 |
61e89aa7cfa8163d585abf987690e703ff47eab6a3c44bdbc4e58ba88e1c247c
|