Written by Jacob Hartzer and Christopher O'Neill.
Provides a Python class ArithmeticalCongruenceMonoid
for use with the computer algebra system Sage that adds functionality for working with arithmetical congruence monoids. The package was developed as a semester project with Jacob Hartzer, an undergraduate student at Texas A&M University.
Please note that this is an alpha version and subject to change without notice.
acm-sage is released under the terms of the MIT license. The MIT License is simple and easy to understand and it places almost no restrictions on what you can do with this software.
To set up your machine to use acm-sage, do the following.
- First, install Sage on your machine. Instructions for doing so can be found here.
- Next, download
ArithmeticalCongruenceMonoid.sage
and place it in your favorite folder.
The following code fragment gives an overview of how to use the ArithmeticalCongruenceMonoid
class from within Sage, and more complete documentation will be added in the near future.
load('/PATH_TO_FILE/ArithmeticalCongruenceMonoid.sage')
hilbert = ArithmeticalCongruenceMonoid(1,4)
print hilbert.Factorizations(441)
print hilbert.DeltaSet(441)