Skip to main content

No project description provided

Project description

Algebra Library

A free algebra library that contains the necessary components to encode an equation.

It also includes a way to print the equation or turn it into a directed acyclic graph (DAG)

Classes Included

  • Constant
  • Variable
  • Function
  • FuncTerm
  • Equation

To clean up type annotations, I defined a Term to mean any of the above.

A FuncTerm is an instantiation of a function with terms as its arguments.

An equation takes two terms and sets them equal to each other.

Directed Acyclic Graph (DAG)

A DAG can be created from a term. What it generates resembles a tree. The "top" will be a function (for a non-trivial term) and each function points to its arguments. The "leaves" would be a constant or a variable.

For example, take the term f(g(x, a), g(x, a))

img

The function f has two arguments, both of which is g(x,a). Therefore, f points to g. Since both the arguments are g(x,a), we just have one node g that points to x and a.

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

symcollab-algebra-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

symcollab_algebra-0.1.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file symcollab-algebra-0.1.1.tar.gz.

File metadata

  • Download URL: symcollab-algebra-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.0

File hashes

Hashes for symcollab-algebra-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98135fd49d3f2cb63ebd9fe4ab2fb6d5fe98a7bfc4a0019f16571923bd2a9713
MD5 03db2966eaaabccd319a3efc4897bcda
BLAKE2b-256 fef7f345a36b01b3e504569bd2df5c9297744a9b23181e3aad7938b9a990a028

See more details on using hashes here.

File details

Details for the file symcollab_algebra-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: symcollab_algebra-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.0

File hashes

Hashes for symcollab_algebra-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b56e97b9d607ab3ef45c1f71221e1d7297afefbeefbca73541d2f0d967d6ba
MD5 ebecf37a816b1cb0a6d0b0abd3ca7d9c
BLAKE2b-256 19c3b19d693ddc49b7f6e5010453b3ec6e4a73dd1e060d73761b19d703a4a3e2

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