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

sage.combinat: Update # needs #36916

Merged
merged 8 commits into from
Dec 26, 2023
Prev Previous commit
src/sage/combinat/root_system/non_symmetric_macdonald_polynomials.py:…
… Fix # needs
  • Loading branch information
Matthias Koeppe committed Dec 24, 2023
commit 182d81f046f6eef58b0a064fc0a3da95893a9c94
Original file line number Diff line number Diff line change
Expand Up @@ -1900,11 +1900,11 @@ def symmetric_macdonald_polynomial(self, mu):
x0^2*x1 + x0*x1^2 + x0^2*x2
+ (2*q*t^2 - q*t - q + t^2 + t - 2)/(q*t^2 - 1)*x0*x1*x2
+ x1^2*x2 + x0*x2^2 + x1*x2^2
sage: fe = f.expand(g.parent().gens()); fe
sage: fe = f.expand(g.parent().gens()); fe # needs sage.libs.gap
x0^2*x1 + x0*x1^2 + x0^2*x2
+ (2*q*v^4 - q*v^2 - q + v^4 + v^2 - 2)/(q*v^4 - 1)*x0*x1*x2
+ x1^2*x2 + x0*x2^2 + x1*x2^2
sage: g.map_coefficients(lambda x: x.subs(t=v*v)) == fe
sage: g.map_coefficients(lambda x: x.subs(t=v*v)) == fe # needs sage.libs.gap
True

sage: E = NonSymmetricMacdonaldPolynomials(['C',3,1], q, v, -1/v)
Expand Down