Skip to content

Commit 710cfbb

Browse files
committed
Reviewer changes: refactored some of the divided difference code, doc changes, orther misc changes.
1 parent 4855ece commit 710cfbb

File tree

6 files changed

+285
-206
lines changed

6 files changed

+285
-206
lines changed

src/doc/en/reference/combinat/module_list.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Comprehensive Module List
145145
sage/combinat/k_regular_sequence
146146
sage/combinat/k_tableau
147147
sage/combinat/kazhdan_lusztig
148+
sage/combinat/key_polynomial
148149
sage/combinat/knutson_tao_puzzles
149150
sage/combinat/matrices/all
150151
sage/combinat/matrices/dancing_links

src/sage/combinat/algebraic_combinatorics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
- :class:`~sage.combinat.symmetric_group_representations.SymmetricGroupRepresentation`
4242
- :ref:`sage.combinat.yang_baxter_graph`
4343
- :ref:`sage.combinat.hall_polynomial`
44+
- :ref:`sage.combinat.key_polynomial`
4445
4546
Operads and their algebras
4647
--------------------------

src/sage/combinat/all.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
from .debruijn_sequence import DeBruijnSequences
8888

8989
from .schubert_polynomial import SchubertPolynomialRing
90+
lazy_import('sage.combinat.key_polynomial', 'KeyPolynomialBasis', as_='KeyPolynomials')
9091
from .symmetric_group_algebra import SymmetricGroupAlgebra, HeckeAlgebraSymmetricGroupT
9192
from .symmetric_group_representations import SymmetricGroupRepresentation, SymmetricGroupRepresentations
9293
from .yang_baxter_graph import YangBaxterGraph

src/sage/combinat/integer_vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ def trim(self):
494494
[4, 3, 3]
495495
sage: IV([0,0,0]).trim()
496496
[]
497+
497498
sage: IV = IntegerVectors(k=4)
498499
sage: v = IV([4,3,2,0]).trim(); v
499500
[4, 3, 2]
@@ -508,7 +509,6 @@ def trim(self):
508509
v = v[:-1]
509510
return P.element_class(P, v, check=False)
510511

511-
512512
class IntegerVectors(Parent, metaclass=ClasscallMetaclass):
513513
"""
514514
The class of (non-negative) integer vectors.

0 commit comments

Comments
 (0)