Skip to main content

No project description provided

Reason this release was yanked:

incompatible with next release

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


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.18.tar.gz (103.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

msmath-1.0.18-py3-none-any.whl (105.0 kB view details)

Uploaded Python 3

msmath-1.0.18-py2-none-any.whl (92.3 kB view details)

Uploaded Python 2

File details

Details for the file msmath-1.0.18.tar.gz.

File metadata

  • Download URL: msmath-1.0.18.tar.gz
  • Upload date:
  • Size: 103.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for msmath-1.0.18.tar.gz
Algorithm Hash digest
SHA256 fa496b558e70ea72c39e0f6ed13988234f001b9295faa609d11aa804406d104d
MD5 aa1886e39ac8cbe3193a7b215360cccf
BLAKE2b-256 a12de3f7ffcfd84b6a030f85f19c9dd364987bb5cb3f48430a3bacd85131384c

See more details on using hashes here.

File details

Details for the file msmath-1.0.18-py3-none-any.whl.

File metadata

  • Download URL: msmath-1.0.18-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

Hashes for msmath-1.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 9bd90c460302e2e5516a6cb4e88472810e3d992db550daae3a33f0aa5d4ccd88
MD5 f5a0fd1d71ca33050540556590e504ad
BLAKE2b-256 ad6dabb97ab77022c3e998adc7dfd9925d9fa4c7d00896bc469fdc0855445f2a

See more details on using hashes here.

File details

Details for the file msmath-1.0.18-py2-none-any.whl.

File metadata

  • Download URL: msmath-1.0.18-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

Hashes for msmath-1.0.18-py2-none-any.whl
Algorithm Hash digest
SHA256 e5c2df516097d25f4bdebeef121a42df2595f0d473ce4277ad9426a6d233f232
MD5 613cf14876446228214aa2ff1afa0065
BLAKE2b-256 ae1a510feaf686309e7a972e370f9c15092a64db764a9d794630e0c1a91fb5fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page