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
Shi arrangement for other types #27640
Comments
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to #days98 |
Changed keywords from #days98 to days98 |
Commit: |
Author: Eleni Tzanaki |
New commits:
|
Changed branch from u/etzanaki/shi_arrangement_for_other_types to u/VivianePons/shi_arrangement_for_other_types |
comment:7
Some PEP8 and other misc small comments: - def Shi(self, data, K=QQ, names=None, m = 1):
+ def Shi(self, data, K=QQ, names=None, m=1): The characteristic polynomial is pre-computed using the results of
- [Ath1996]_ .
+ [Ath1996]_. if data in NN:
- cartan_type = CartanType(["A",data -1])
+ cartan_type = CartanType(['A', data-1]) for a in PR:
for const in range(-m+1,m+1):
- hyperplanes.append(sum(a[j]*x[j] for j in range(d
- ))-const)
+ hyperplanes.append(sum(a[j]*x[j] for j in range(d))-const) (the 80 char/line is much more of a guideline and you should never sacrifice readability for it IMO). - charpoly = (x**(d-n))*(x-m*h)**n
+ charpoly = x**(d-n) * (x - m*h)**n It would also be nice to remove those added blanklines at the end of the file. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
It looks like the bot is happy. I have fixed the small things pointed by Travis. Eleni wrote the initial code and I helped with the design and details. The code extends the previous functionalities of the function. The previous usage is still valid and works exactly the same (we haven't changed those tests) and now we have more options (with Cartan types and m parameter), all documented. Eleni checked the math quite carefully. So Travis, I let you have a look and hopefully, we can have a positive review soon. |
comment:10
otherwise, looks good |
comment:11
and this line is useless, as told by the patchbot:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
All done! |
Reviewer: Frédéric Chapoton |
comment:14
ok, thx |
Changed author from Eleni Tzanaki to Eleni Tzanaki, Viviane Pons |
comment:15
Viviane, I added you as an author based on comment:9. If you feel you closer to a reviewer, feel free to move yourself over. |
Changed reviewer from Frédéric Chapoton to Frédéric Chapoton, Travis Scrimshaw |
Changed branch from u/VivianePons/shi_arrangement_for_other_types to |
m-extended Shi arrangement defined for any finite crystallograpic root system
CC: @VivianePons @tscrim
Component: combinatorics
Keywords: days98
Author: Eleni Tzanaki, Viviane Pons
Branch/Commit:
b176a2a
Reviewer: Frédéric Chapoton, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/27640
The text was updated successfully, but these errors were encountered: