Skip to main content

No project description provided

Project description

msmath package

mathematical Python classes

Classes to implement

  • 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.10.tar.gz (108.7 kB view details)

Uploaded Source

Built Distributions

msmath-1.0.10-py3-none-any.whl (102.1 kB view details)

Uploaded Python 3

msmath-1.0.10-py2-none-any.whl (89.5 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: msmath-1.0.10.tar.gz
  • Upload date:
  • Size: 108.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for msmath-1.0.10.tar.gz
Algorithm Hash digest
SHA256 2eb17e26a7e993d082bb3891fa1af2f96dfe77a778de0445efedce9af02fd100
MD5 cb7a7e8e5388704980495c1a26456478
BLAKE2b-256 29209a4081cdf304592ba25aee9f43dbcbd97c9a961c5f9d838e23b419923ca2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msmath-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 102.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for msmath-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 167b0757b3eed7cc4a397049b6a73e971a6fd8915b844a991d50cbffe8444c34
MD5 ea362ae29eada2492723a6b1bce62367
BLAKE2b-256 4fff01ab5a1ab6f0ae6e2217a5e2303609690429efd741a2bc741b0fa9b0c3a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msmath-1.0.10-py2-none-any.whl
  • Upload date:
  • Size: 89.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for msmath-1.0.10-py2-none-any.whl
Algorithm Hash digest
SHA256 1ea74ea26a0f535d333b34f844c54bf054e14a0c9fd1d8e5fd36fb00593c5b46
MD5 d3f77ef5d3173d2cf0b2659e7f3e8309
BLAKE2b-256 91dc52d20384b843bff59a069b746c482968e345bb92a399d887d4a58a1add9c

See more details on using hashes here.

Supported by

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