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 nontrivial 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
.
Project details
Release history Release notifications  RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for symcollab_algebra0.1.1py3noneany.whl
Algorithm  Hash digest  

SHA256  d0b56e97b9d607ab3ef45c1f71221e1d7297afefbeefbca73541d2f0d967d6ba 

MD5  ebecf37a816b1cb0a6d0b0abd3ca7d9c 

BLAKE2b256  19c3b19d693ddc49b7f6e5010453b3ec6e4a73dd1e060d73761b19d703a4a3e2 