#13243: new methods for compositions
------------------------------------------------------------------------------+
       Reporter:  saliola                                                     | 
        Owner:  sage-combinat            
           Type:  enhancement                                                 | 
       Status:  positive_review          
       Priority:  major                                                       | 
    Milestone:  sage-5.3                 
      Component:  combinatorics                                               | 
   Resolution:                           
       Keywords:  compositions, ncsf, sd40                                    | 
  Work issues:                           
Report Upstream:  N/A                                                         | 
    Reviewers:  Chris Berg, Mike Zabrocki
        Authors:  Franco Saliola, Nicolas Thiery, Florent Hivert, Chris Berg  | 
    Merged in:                           
   Dependencies:  #13109                                                      | 
     Stopgaps:                           
------------------------------------------------------------------------------+
Description changed by jdemeyer:

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
> - 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)

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)

 '''Apply''':
     * [attachment:trac_13243-new_methods_for_compositions-fs.patch]
     * [attachment:trac_13243-rebased_deprecated_function_alias-fs.patch]
     * [attachment:trac_13243-review_changes-fs.patch]
     * [attachment:trac_13243-documentation_fixes-fs.patch]
     * [attachment:trac_13243-documentation_fixes_2-fs.patch]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13243#comment:24>
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.

Reply via email to