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.2.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.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zn_operation_table-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fc3e3f20783859757a4df627ed1c6cd9bebdebf9d88d1e9976509c8a11f99cea
MD5 7010680661221eabe54eeb904f5e4a70
BLAKE2b-256 bf69c81855f0bf80ab1c788b5f18b1f178086b0e1f9e8754d960b7f5e644bf89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zn_operation_table-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6d326be4c7f7fd7612e0bf914161661e05c9ccc7452aeeffa03ae2195adccff
MD5 4d8965ce08a70178dafe9316b607c50d
BLAKE2b-256 01eac3baa62f35c56e7dd3d0993a7c9a3b6074dde2038acb6210ed77dfad36b0

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