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
Restrict skew partition input to Schur basis and implement a skew Schur method #19218
Comments
comment:1
While I was at it, there were a couple of other things I tweaked. Most of these were done because of my initial changes broke something else small. (I was able to clean up a little bit of Sage's import hell.) I simplified the
versus previously
So a marginal speed gain, but still a gain of ~2% (and much more simple code structure). Additionally I made a few changes of
We should probably make this change in the rest of the code in other parts of combinat, especially the SF code as this is usually called frequently. New commits:
|
Commit: |
Branch: public/combinat/skew_schur-19218 |
comment:2
Shouldn't the if-check be before the other instructions? Maybe even in the element constructor, before calling the Other than this, the patch looks good if someone can check that (1) elements of the base ring and elements coercing into the base ring still coerce OK (please check on various bases), and (2) the doctests pass. (I don't have time to fire up Sage...) Glad you caught this bug, Travis! |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Replying to @darijgr:
Good point, done.
This is the first thing that is checked in the element constructor. This is the first thing that is checked by the Schur functions element constructor, and exception generation and handling is faster than checking if something is a skew partition a second time. Although if you really want speed, you probably shouldn't use the element constructor (as that also goes through the coercion framework first).
Chances are I could probably remove the coercion of elements into the base ring because that should be handled by the coercion framework beforehand (as this is the conversion step). However that seemed too likely to be a can of worms for me to change it here... |
comment:5
The patch looks good to me. Thanks for fixing the bug, Travis! |
Reviewer: Anne Schilling, Darij Grinberg |
comment:7
Thanks to both. |
Changed branch from public/combinat/skew_schur-19218 to |
If you pass a skew partition to a basis of the symmetric functions, you get what should be the skew Schur function:
This would be corresponding skew Schur function if it was in the Schur basis, however we have
This ticket will make skew partition input only valid for Schur functions and implement a method
skew_schur
which handles creating skew Schur functions.CC: @sagetrac-sage-combinat @nthiery @zabrocki @darijgr @anneschilling
Component: combinatorics
Keywords: schur, symmetric functions
Author: Travis Scrimshaw
Branch/Commit:
14e6047
Reviewer: Anne Schilling, Darij Grinberg
Issue created by migration from https://trac.sagemath.org/ticket/19218
The text was updated successfully, but these errors were encountered: