-
-
Notifications
You must be signed in to change notification settings - Fork 516
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
Mobius matrices of posets are integer matrices #10670
Comments
This comment has been minimized.
This comment has been minimized.
Author: chapoton |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
Hi Frédéric, Thanks for taking care of this problem. Here are a few remarks:
Right now, I'm having lunch, but I'll probably find the time to post a review Florent |
Reviewer: Florent Hivert |
Changed author from chapoton to Frédéric Chapoton |
comment:7
I'm on It. Please don't touch anything ! |
Dependencies: #10998 |
Changed author from Frédéric Chapoton to Frédéric Chapoton, Florent Hivert |
comment:8
I reworked the patch. Unfortunately on the way I got a dependency on #10998 Florent |
This comment has been minimized.
This comment has been minimized.
comment:9
Trying to help the build bot to do its job Apply trac_10670_integral_mobius_matrix_for_posets-fh.patch |
Changed keywords from poset, matrix to poset, matrix, Cernay2012 |
Changed reviewer from Florent Hivert to Florent Hivert, Nicolas M. Thiéry |
This comment has been minimized.
This comment has been minimized.
comment:13
We finalized the patch together with Florent. |
comment:14
Except for a timeout in sage/sandpiles/sandpile.py, all tests passed on sage-5.0.beta2 with the following patches applied::
Setting a positive review. Thanks Frédéric and Florent! |
comment:15
Attachment: trac_10670_integral_mobius_matrix_for_posets-fh.patch.gz |
Merged: sage-5.0.beta5 |
I have noticed the following problem.
The Mobius function of a poset should really be an integer matrix. This can be achieved by using change_ring :
The patch does this by default. It also adds optional arguments to choose sparse/dense and the base ring. Same thing for lequal_matrix.
It also makes sure those matrices are immutable, and improves a bit the redefinition of .mobius_function when the mobius function has been calculated.
Apply:
Depends on #10998
CC: @fchapoton @sagetrac-sage-combinat
Component: combinatorics
Keywords: poset, matrix, Cernay2012
Author: Frédéric Chapoton, Florent Hivert
Reviewer: Florent Hivert, Nicolas M. Thiéry
Merged: sage-5.0.beta5
Issue created by migration from https://trac.sagemath.org/ticket/10670
The text was updated successfully, but these errors were encountered: