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.20.tar.gz
(129.5 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.20-py3-none-any.whl
(105.0 kB
view details)
msmath-1.0.20-py2-none-any.whl
(92.3 kB
view details)
File details
Details for the file msmath-1.0.20.tar.gz.
File metadata
- Download URL: msmath-1.0.20.tar.gz
- Upload date:
- Size: 129.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b431aea26c841831fcb1bf4dd39380e1e5c45a8992089657a9638c6ef233fbd
|
|
| MD5 |
2424367f9bae6edf38372718c50a5bff
|
|
| BLAKE2b-256 |
7623eab3b88751c63d4ac37e63ff0a38a851e1a2f3a14cb21ea1c7ef00847fc9
|
File details
Details for the file msmath-1.0.20-py3-none-any.whl.
File metadata
- Download URL: msmath-1.0.20-py3-none-any.whl
- Upload date:
- Size: 105.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf7b04fb3bdcd7b92f10ca1868b649859c8b552eb264dac979279e544340579
|
|
| MD5 |
9c34efb5de6997f96d3561c860134433
|
|
| BLAKE2b-256 |
76aa07d714b0c60e43a043209079930a282275b19b8fc1ad825c811204aaf9b7
|
File details
Details for the file msmath-1.0.20-py2-none-any.whl.
File metadata
- Download URL: msmath-1.0.20-py2-none-any.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3793edd767dbd3153394e8697eb4ee683dc8d292b1a3fb13707e8562574b40e1
|
|
| MD5 |
1fce8fcf186ca820f0c7f094669ce744
|
|
| BLAKE2b-256 |
00679f50c62ce6129dffbb764d63e58251c91401984e89bf11d4433ff9b3cb95
|