| 1 | initial version |
When you initialize a CombinatorialFreeModule, you can specify a category, and if you specify a category of algebras, then defining a method product_on_basis will give you an algebra structure. Some examples in the Sage library:
Indeed, many of the algebras in Sage inherit from CombinatorialFreeModule.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.