#13250: Additional poset examples
-------------------------------------+-------------------------------------
Reporter: csar | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.1
Component: combinatorics | Resolution:
Keywords: sd40, posets | Merged in:
Authors: Alex Csar, | Reviewers: Jori Mäntysalo
Frédéric Chapoton | Work issues:
Report Upstream: N/A | Commit:
Branch: u/chapoton/13250 | db23b4e9bf1232d8cd6c2b1f39e83077c32ea523
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by tscrim):
A few comments:
- I don't like the special case of `absolute_length` for the symmetric
group. This should be a method for the elements of `SymmetricGroup`.
Actually, there probably is a quick way to implement `absolute_length()`
on those elements directly.
- For `absolute_covers`, it is faster to iterate over `reflections`
(typically about 2x faster). Also you should store
`self.absolute_length()` so it doesn't get recomputed each time.
--
Ticket URL: <http://trac.sagemath.org/ticket/13250#comment:56>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.