-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Improved printing for symmetric function bases and misc refactoring #13404
Comments
This comment has been minimized.
This comment has been minimized.
Dependencies: #13399 |
comment:2
Salut Nicolas-- My 2c: "in the ... basis", not "on the ... basis". And for me, I don't think of the h basis as "homogeneous", but rather as "complete". The bases are all homogeneous, after all! I guess some people say "complete homogeneous", and maybe that's best -- it gives the word "complete" more meaning (i.e., the h_i are complete subject to being homogeneous). But maybe I was brought up wrong... cheers, Hugh |
comment:4
I agree with Hugh regarding "homogeneous". I prefer "complete" or "complete homogeneous". |
This comment has been minimized.
This comment has been minimized.
comment:7
Replying to @saliola:
I definitely disagree. Most author abbreviate to "homogeneous". Why is this symbol for this "h" and not "c"? You can change it to "complete homogeneous" if you care about this. But I think just "complete" is a confusing convention. |
comment:8
I'm not super keen on just the name 'complete,' at least not as an 'only' option. To go with what the textbooks say (since they set they tend to motivate the notation in other references) : to describe the generators h_n, Macdonald uses "complete symmetric function" (but then uses the word 'complete' only rarely elsewhere in the book), Sagan and Stanley uses "complete homogeneous symmetric functions". When I write and I shorten 'complete homogeneous' I go with 'homogeneous' and I can provide lots of references that uses this name. The short name 'h' to me is short for 'homogeneous.' While I don't mind using both names, I would vote against restricting to the name 'complete' only. |
This comment has been minimized.
This comment has been minimized.
comment:10
Oops: the updated patch fixes two remaining fixing doctests and an indirect doctest. |
comment:11
Green light; all tested passed as well 5.3.rc0 on sage.math.u-psud.fr. |
comment:12
I looked over the patch and overall it looks very good to me. Thanks, Nicolas, for making these changes! Just a quick questions: so this is now consistent with NSym and QSym, right? Here is one question:
Don't you want to keep some tests when q is set to a value or both parameters are set to a value? Also, where is zee specified in this code?
Other than these questions I am happy to set a positive review! Anne |
comment:13
Hi Anne, Replying to @anneschilling:
You are welcome!
Yes! Well, almost: there remains the on->in change for NSym and Qsym
That would have been better indeed. That being said, the doctests of
Thanks! Cheers, |
comment:14
zee is defined as a function around the top of sfa.py. Cheers, |
comment:15
Could you please also comment on this line in the commit message: "- Updated to doctests in jack.py: the new outputs are equal but Could you please be more specific what previous means and what precisely is equal, but not identical? Anne |
comment:16
Replying to @anneschilling:
It's about this hunk:
|
comment:17
Yes, this is weird, but I think it is related to the comment "missing auto normalization". Mike and I ran into a similar issue win 5457. Patch looks good otherwise! Anne |
Reviewer: Anne Schilling |
comment:19
There is one more thing that Mike pointed out to me. Currently we have
Should ks be changed to
Thanks, Anne |
comment:21
Replying to @anneschilling:
Good question. It's a bit long, but has some desirable features
Btw 1: it would be good to have t specified in the name of the kBoundedSubspace.
Btw 2: in the docstrings of new_kschur, wouldn't we want to change
to
(except probably once in the I am not sure I'll have the time to implement that before Tuesday, so Cheers, |
comment:24
Replying to @zabrocki:
Hi Mike, the changes look good to me with one exception. Nicolas mentioned in his Btw 2: Other than that, all tests pass for me on sage-5.3.rc0 + 2 5457 patches + 13399 patch. Anne |
comment:25
Thanks for catching that. I had that change but didn't qrefresh before I attached the patch. Ignore/delete the patch trac_13404_kschur_rename-mz.2.patch ... it was an accident |
comment:26
Replying to @zabrocki:
Ok, looks good and tests pass! Anne |
comment:28
Replying to @zabrocki:
Deleted. Thanks for finalizing this patch! |
Changed author from Nicolas M. Thiéry to Nicolas M. Thiéry, Mike Zabrocki |
comment:30
And thanks Anne for the review! |
This comment has been minimized.
This comment has been minimized.
comment:33
Hi Nicolas and Mike, I fodled your two patches together and commuted it past 13399, so that it now only depends on #5457. I did not change any content. Please and set a positive review if happy! Anne |
comment:34
Apply: trac_13404-sf-nt.3.patch |
comment:35
I've tested and looked it over and I am happy with it. Thanks Anne for doing all the work to get these cleaned up. 12140-comment! It has a positive review already so I'm not changing anything but I am satisfied it seems to apply cleanly and runs as before. |
comment:37
The new uploaded patch fixes a doc test failure in relation with #8899. Anne |
Attachment: trac_13404-sf-nt.3.patch.gz |
comment:39
I double checked the change and confirm the positive review. Thanks Anne! |
Merged: sage-5.4.beta1 |
Due to accumulating history, the names of the various bases of
Symmetric functions and variants are not very consistent:
This is not consistent either with NCSF/Qsym:
Besides, it is verbose and does not support renaming Sym to get shorter names:
I am in the process of refactoring the
_repr_
code to improve this:In the following examples, we rename
Sym
for brevity:Classical bases:
Macdonald polynomials:
Macdonald polynomials, with specialized parameters:
Hall-Littlewood polynomials:
Hall-Littlewood polynomials, with specialized parameter:
Jack polynomials::
Jack polynomials, with specialized parameter::
Zonal polynomials::
LLT polynomials:
Apply:
Depends on #5457
Depends on #8899
CC: @zabrocki @anneschilling @saliola
Component: combinatorics
Keywords: symmetric functions
Author: Nicolas M. Thiéry, Mike Zabrocki
Reviewer: Anne Schilling
Merged: sage-5.4.beta1
Issue created by migration from https://trac.sagemath.org/ticket/13404
The text was updated successfully, but these errors were encountered: