Changes between Initial Version and Version 1 of Ticket #14138


Ignore:
Timestamp:
02/15/13 21:39:55 (8 years ago)
Author:
ncohen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14138

    • Property Cc nthiery fhivert hivert added
  • Ticket #14138 – Description

    initial v1  
     1Because I hate that :
     2
     3{{{
     4sage: MultichooseNK(5,3)                                                 
     5Combinatorial Class -- REDEFINE ME!
     6   
     7sage: Partitions(5, min_part=0)
     8/home/ncohen/.Sage/local/lib/python2.7/site-packages/sage/combinat/partition.py:3764: RuntimeWarning: Currently, setting min_part=0 produces Partition objects which violate internal assumptions.  Calling methods on these objects may produce errors or WRONG results!
     9  warn("Currently, setting min_part=0 produces Partition objects which violate internal assumptions.  Calling methods on these objects may produce errors or WRONG results!", RuntimeWarning)
     10Partitions of the integer 5 satisfying constraints min_part=0
     11
     12sage: Compositions(5, min_part=0)
     13/home/ncohen/.Sage/local/lib/python2.7/site-packages/sage/combinat/composition.py:975: RuntimeWarning: Currently, setting min_part=0 produces Composition objects which violate internal assumptions.  Calling methods on these objects may produce errors or WRONG results!
     14  warn("Currently, setting min_part=0 produces Composition objects which violate internal assumptions.  Calling methods on these objects may produce errors or WRONG results!", RuntimeWarning)
     15Compositions of the integer 5 satisfying constraints min_part=0
     16}}}
     17
     18From the help of unordered_tuples (in the global namespace):
     19
     20   Warning: Wraps GAP - hence mset must be a list of objects that have string
     21     representations that can be interpreted by the GAP interpreter.
     22     If mset consists of at all complicated Sage objects, this
     23     function does *not* do what you expect. A proper function should
     24     be written! (TODO!)
     25
     26From the help of permutations_iterator (in the global namespace, with no depracation warning):
     27
     28    Do not use this function. It will be deprecated in future version                                                                                                                         
     29    of Sage and eventually removed. Use Permutations instead;
     30
     31help of number_of_permutations (same as above) :