Skip to main content

Simple package to obtain Zn's equivalence classes sum or product operation tables.

Project description

Zn equivalence classes operation table generator

Simple package to obtain Zn's equivalence classes sum or product operation tables.

The build_table method takes an integer (n) and 'sum' or 'prod' as first and second arguments. It will return a nxn matrix with the result of operating every item with each other.

Installation:

pip install zn_operation_table

Example

build_table(3, 'sum')

Will return:

[[0,1,2], [1,2,0], [2,0,1]]

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

zn_operation_table-1.0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

zn_operation_table-1.0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file zn_operation_table-1.0.3.tar.gz.

File metadata

  • Download URL: zn_operation_table-1.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for zn_operation_table-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e34c64a135da83c0ef4ac7aa1aebcbb867f4dd48a819c9a1285db6438f4a31a1
MD5 0e942699f5054ff7a8f38c98c3fc9f7f
BLAKE2b-256 55faebc27c122604a0c6eada40445f216819ea2cb9a8f331ac0f901d36fc87e9

See more details on using hashes here.

File details

Details for the file zn_operation_table-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: zn_operation_table-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for zn_operation_table-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9191b294749991abbc3e2d03e6875a3380379fcec500f5c4d45186722e659adf
MD5 48a1af1bd1979859e4dcb6b524cfd278
BLAKE2b-256 fdd8045f71590eb3e1d5150e65336cb667120a3469e1f1bcec5239fc4f082218

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