Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplementing the Witt (Sym Func) change of basis, caches, and omega involution #37736

Merged
merged 3 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions src/sage/combinat/sf/sf.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,21 +960,29 @@ def monomial(self):
return monomial.SymmetricFunctionAlgebra_monomial(self)
m = monomial

def witt(self, coerce_h=True, coerce_e=False, coerce_p=False):
def witt(self, coerce_h=None, coerce_e=None, coerce_p=None):
r"""
The Witt basis of the symmetric functions.

EXAMPLES::

sage: SymmetricFunctions(QQ).witt()
Symmetric Functions over Rational Field in the Witt basis

TESTS::

sage: SymmetricFunctions(QQ).witt(coerce_p=True)
Symmetric Functions over Rational Field in the Witt basis
sage: SymmetricFunctions(QQ).witt(coerce_h=False, coerce_e=True, coerce_p=True)
doctest:warning
...
DeprecationWarning: the coerce_* inputs are deprecated and ignored
See https://github.com/sagemath/sage/issues/37736 for details.
Symmetric Functions over Rational Field in the Witt basis
"""
if coerce_h is not None or coerce_e is not None or coerce_p is not None:
from sage.misc.superseded import deprecation
deprecation(37736, "the coerce_* inputs are deprecated and ignored")
from . import witt
return witt.SymmetricFunctionAlgebra_witt(self, coerce_h=coerce_h, coerce_e=coerce_e, coerce_p=coerce_p)
return witt.SymmetricFunctionAlgebra_witt(self)
w = witt
# Currently needed by sfa.GradedSymmetricFunctionsBases.corresponding_basis_over
Witt = witt
Expand Down
Loading
Loading