Contact

coneill «at» math.ucdavis.edu

Mathematical Sciences

Building, Room 3149

One Shields Ave

Davis, CA 95616

U.S.A.

Mathematical Sciences

Building, Room 3149

Department of Mathematics

University of California DavisOne Shields Ave

Davis, CA 95616

U.S.A.

LeamerMonoid

LeamerMonoid is a Python class for use with the computer algebra system Sage that adds functionality for working with Leamer Monoids. Internally, it uses the GAP package numericalsgps via the NumericalSemigroup class. Several factorization invariants are supported, and more functionality will continue to be added. In fact, feature requests are encouraged, just send me an email!

You can find an action shot here.

Download

Given below is a current version of LeamerMonoid.sage. You can also email me for a cutting-edge version.

- LeamerMonoid.sage, posted August 9, 2014

Usage

To use this class, you must first install the NumericalSemigroup class. Next, simply place LeamerMonoid.sage in the same directory as NumericalSemigroup.sage. The following code fragment gives an overview of how to use the LeamerMonoid class from within Sage, and more complete documentation will be added in the near future.

load('/PATH_TO_FILES/NumericalSemigroup.sage') load('/PATH_TO_FILES/LeamerMonoid.sage') S = LeamerMonoid([13,17,22,40],4) S.Plot().show() print S.frob print S.LengthSet(120,15) print S.DeltaSet(120,15) print S.CatenaryDegree(120,15)