#5200: [with patch, needs review, doc needs work] subsets and subwords bug fix +
improvements.
---------------------------+------------------------------------------------
Reporter: hivert | Owner: mhansen
Type: enhancement | Status: new
Priority: major | Milestone: sage-combinat
Component: combinatorics | Keywords: subsets, subwords
---------------------------+------------------------------------------------
Comment(by hivert):
It has been decided (direct talk with Nicolas + irssi with Mike) that the
user has to explicitely set that he want multisets. Therefore, on the
contrary that is anounced, the following is not working:
{{{
sage: Subsets([2,2,3]).list()
[[], [2], [3], [2, 2], [2, 3], [2, 2, 3]]
}}}
Instead one should write
{{{
sage: Subsets([2,2,3], multiset=True).list()
[[], [2], [3], [2, 2], [2, 3], [2, 2, 3]]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5200#comment:2>
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
-~----------~----~----~----~------~----~------~--~---