#5600: [with patch, needs review] Cleanup of integer compositions
---------------------------+------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: new
Priority: major | Milestone: sage-combinat
Component: combinatorics | Keywords: integer compositions
---------------------------+------------------------------------------------
Changes (by nthiery):
* keywords: => integer compositions
Old description:
> See http://wiki.sagemath.org/combinat/Weirdness:
> See compositions-cleanup-5600-nt.patch on the sage-combinat patch server
>
> * Documentation improvements
> * Accept any iterable as input
> * Adds concatenation of compositions
> * Use IntegerListLex (fast generation!)
New description:
- 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.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5600#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---