#13243: new methods for compositions
------------------------------------------------------------------------------+
Reporter: saliola |
Owner: sage-combinat
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-5.3
Component: combinatorics |
Resolution:
Keywords: compositions, ncsf, sd40 |
Work issues:
Report Upstream: N/A |
Reviewers: Chris Berg
Authors: Franco Saliola, Nicolas Thiery, Florent Hivert, Chris Berg |
Merged in:
Dependencies: #13109 |
Stopgaps:
------------------------------------------------------------------------------+
Description changed by saliola:
Old description:
> new functionality for the composition constructor:
>
> - construct a composition from a subset
>
> new functionality for compositions:
>
> - parent -- returns Compositions()
> - reversed - reverses
> - refinement_splitting
> - refinement_splitting_lengths(self, J):
> - partial_sums(self, final=True):
> - to_subset(self, final=False):
> - to_partition(self):
> - shuffle_product(self, other, overlap=False):
>
> new functionality for the set of all compositions:
>
> - put it in the category of {{{InfiniteEnumeratedSets}}}
> - subset method to extract subsets of composition (by size)
New description:
new functionality for the composition constructor:
- construct a composition from a subset
new functionality for compositions:
- parent -- returns Compositions()
- reversed - reverses
- refinement_splitting
- refinement_splitting_lengths
- deprecated refinement in favour of refinement_splitting_lengths
- partial_sums(self, final=True):
- to_subset(self, final=False):
- to_partition(self):
- shuffle_product(self, other, overlap=False):
new functionality for the set of all compositions:
- put it in the category of {{{InfiniteEnumeratedSets}}}
- subset method to extract subsets of composition (by size)
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13243#comment:8>
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 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.