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.0.tar.gz (2.6 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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zn_operation_table-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 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.0.tar.gz
Algorithm Hash digest
SHA256 f59fa570b65601593a466e7c17b4641e0db9e905c4ab8b5ea2d2d1aff2081294
MD5 22df2c6ed4d4384306d09129713073eb
BLAKE2b-256 1edcb8767fd16fd37ef12d521ff0ff23e3574951969a2f83d5f97abb86742b57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zn_operation_table-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e405b664cda621dd0d3abadf6d17f3ddf880ef6c2e2c46dc3f1ae8653403fc6b
MD5 1afd7da3e6440e9cd6aa222a71443392
BLAKE2b-256 30df6e882dd75b6fcdf5b4c34e9f95014d49fb3d5df41e9ce2f9a0b2d09a23c2

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