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.16.tar.gz
(128.2 kB
view details)
Built Distributions
msmath-1.0.16-py3-none-any.whl
(104.3 kB
view details)
msmath-1.0.16-py2-none-any.whl
(91.7 kB
view details)
File details
Details for the file msmath-1.0.16.tar.gz
.
File metadata
- Download URL: msmath-1.0.16.tar.gz
- Upload date:
- Size: 128.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b29cb3a79c9f0e234df6271deab755cb5fb9ebac3f9cf8c1cdbc8c653e1c5c3 |
|
MD5 | 9824890551ad9b1f0781d8623bd7e959 |
|
BLAKE2b-256 | e8e766cb2828e2846868a6eaa80d967e0cca99869b873d8e182949ba25ef774d |
Provenance
File details
Details for the file msmath-1.0.16-py3-none-any.whl
.
File metadata
- Download URL: msmath-1.0.16-py3-none-any.whl
- Upload date:
- Size: 104.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa42de98a083e201ef089fe61a5adc2e986f0b303dff9ce28bf8b0771aaacd0 |
|
MD5 | 6b69117c99e1a0fb2acc0d690699f8d1 |
|
BLAKE2b-256 | 58bec81ee683115050f641ff2ec0d3aed4370fbc2c24252b40fe2caec6ea4da5 |
Provenance
File details
Details for the file msmath-1.0.16-py2-none-any.whl
.
File metadata
- Download URL: msmath-1.0.16-py2-none-any.whl
- Upload date:
- Size: 91.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0548a831670b90b4d84562439d6d4d48e23a50039a4980cfe3b42398fd1f754d |
|
MD5 | 7f7012e2fc4a081b831082e793345386 |
|
BLAKE2b-256 | 243d5469fe81ba85a65d3700b50ef6391daecee7885edfb83f8a31b040bab36c |