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.19.tar.gz (103.6 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.19-py3-none-any.whl (105.1 kB view details)

Uploaded Python 3

msmath-1.0.19-py2-none-any.whl (92.4 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: msmath-1.0.19.tar.gz
  • Upload date:
  • Size: 103.6 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.19.tar.gz
Algorithm Hash digest
SHA256 6cf9e772373ab555c1cfeff81c60ab61105b1482d65a87e1a0c286ca2aa3892a
MD5 15815ecd28f5e5df0eaefee02e0b8736
BLAKE2b-256 dbbd160c6ebdf3690e44d6394a104fea5efc292083fb02f4b1254f17e48a5682

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msmath-1.0.19-py3-none-any.whl
  • Upload date:
  • Size: 105.1 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 51bbf8b516f775bb010407c51d157babdd598a8c18a00532c36b6d5e8cf45e24
MD5 eb56bd36c806419333bfa51c73dd27a9
BLAKE2b-256 48d82df2b99f21359e4f3220d71be1e3a7b03916c068f372cab01ac936d374db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msmath-1.0.19-py2-none-any.whl
  • Upload date:
  • Size: 92.4 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.19-py2-none-any.whl
Algorithm Hash digest
SHA256 9138d7473e8d5367848e68cedcd41422c775ec4fb294069376872f7e6bf4dd63
MD5 d663b2cecea44adddb55be369583efcf
BLAKE2b-256 81145bbacc5ff8da87268590cd4f2f79a55872b780f56f4fbdd6cc7fde50b099

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