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))
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.
Metadata
Release files for symcollab-algebra 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| symcollab-algebra-0.1.1.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| symcollab_algebra-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / symcollab-algebra-0.1.1.tar.gz
| Download URL | symcollab-algebra-0.1.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98135fd49d3f2cb63ebd9fe4ab2fb6d5fe98a7bfc4a0019f16571923bd2a9713
|
|
BLAKE2b-256 checksum How to use checksums |
fef7f345a36b01b3e504569bd2df5c9297744a9b23181e3aad7938b9a990a028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / symcollab_algebra-0.1.1-py3-none-any.whl
| Download URL | symcollab_algebra-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0b56e97b9d607ab3ef45c1f71221e1d7297afefbeefbca73541d2f0d967d6ba
|
|
BLAKE2b-256 checksum How to use checksums |
19c3b19d693ddc49b7f6e5010453b3ec6e4a73dd1e060d73761b19d703a4a3e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|