Ticket #5600 (closed enhancement: fixed)
[with patch, positive review] Cleanup of integer compositions
| Reported by: | nthiery | Owned by: | nthiery |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1.2 |
| Component: | combinatorics | Keywords: | integer compositions |
| Cc: | sage-combinat, jbandlow | Author(s): | Nicolas M. Thiéry |
| Report Upstream: | Reviewer(s): | Dan Drake, Jason Bandlow, Minh Van Nguyen | |
| Merged in: | Sage 4.1.2.alpha0 | Work issues: |
Description (last modified by nthiery) (diff)
- Documentation improvements
- Fixes some of http://wiki.sagemath.org/combinat/Weirdness
- Composition(l) accepts any iterable l, and in particular a tuple
- New functionalities:
- concatenation (as add and sum)
- size
- fatter, finer, fatten (refinement of compositions)
- Uses IntegerListsLex? (fast iteration, ...) instead of not any better specific code Note: this changes the iteration order to inverse lexicographic, and iteration changes the iteration order for set partitions, skew partitions, and skew tableaux.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

