Skip to content

Commit

Permalink
src/sage/categories/triangular_kac_moody_algebras.py: Add # needs
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Sep 29, 2024
1 parent 4092691 commit 1ffe438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/categories/triangular_kac_moody_algebras.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def _triangular_key(self, x):
EXAMPLES::
sage: # needs sage.combinat sage.modules
sage: L = lie_algebras.sl(QQ, 3)
sage: La = L.cartan_type().root_system().weight_lattice().fundamental_weights()
sage: sorted(L.basis().keys(), key=L._basis_key)
Expand Down Expand Up @@ -352,6 +353,7 @@ def _transpose_basis_mapping(self):
EXAMPLES::
sage: # needs sage.combinat sage.modules
sage: g = LieAlgebra(QQ, cartan_type=['A', 2])
sage: g._transpose_basis_mapping
{-alpha[1]: alpha[1],
Expand Down Expand Up @@ -384,6 +386,7 @@ def _transpose_on_basis(self, m):
EXAMPLES::
sage: # needs sage.combinat sage.modules
sage: g = LieAlgebra(QQ, cartan_type=['B', 2])
sage: B = g.basis()
sage: [(B[k], g._transpose_on_basis(k)) for k in B.keys()]
Expand All @@ -407,6 +410,7 @@ def transpose(self):
EXAMPLES::
sage: # needs sage.combinat sage.modules
sage: g = LieAlgebra(QQ, cartan_type=['B', 2])
sage: g.transpose
Generic endomorphism of Lie algebra of ['B', 2] in the Chevalley basis
Expand All @@ -425,6 +429,7 @@ def transpose(self):
EXAMPLES::
sage: # needs sage.combinat sage.modules
sage: g = LieAlgebra(QQ, cartan_type=['G', 2])
sage: for b in g.basis():
....: for bp in g.basis():
Expand Down

0 comments on commit 1ffe438

Please sign in to comment.