Usage¶
How to installing the package¶
Install the project into your Python environment:
$ pip install boring-math-abstract-algebra
Importing the modules¶
Import classes needed to define your own algebras.
from boring_math.abstract_algebra.semigroup import Semigroup
from boring_math.abstract_algebra.monoid import Monoid
from boring_math.abstract_algebra.group import Group
from boring_math.abstract_algebra.commutative_semigroup import CommutativeSemigroup
from boring_math.abstract_algebra.commutative_monoid import CommutativeMonoid
from boring_math.abstract_algebra.abelian_group import AbelianGroup
from boring_math.abstract_algebra.ring import Ring
from boring_math.abstract_algebra.commutative_ring import CommutativeRing
from boring_math.abstract_algebra.field import Field
Algebra class hierarchy¶
Arrows point from super class to sub classes. Class BaseSet is abstract.