Kac-Moody Algebras¶
AUTHORS:
Travis Scrimshaw (07-15-2017): Initial implementation
- class sage.categories.kac_moody_algebras.KacMoodyAlgebras(base, name=None)[source]¶
Bases:
Category_over_base_ring
Category of Kac-Moody algebras.
- class ParentMethods[source]¶
Bases:
object
- example(n=2)[source]¶
Return an example of a Kac-Moody algebra as per
Category.example
.EXAMPLES:
sage: from sage.categories.kac_moody_algebras import KacMoodyAlgebras sage: KacMoodyAlgebras(QQ).example() # needs sage.combinat sage.modules Lie algebra of ['A', 2] in the Chevalley basis
We can specify the rank of the example:
sage: KacMoodyAlgebras(QQ).example(4) # needs sage.combinat sage.modules Lie algebra of ['A', 4] in the Chevalley basis