#16473: get rid of MultichooseNK
-------------------------------------+------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.3
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+------------------------
Comment (by nthiery):
Hi!
Note that `Multichoose_NK` is about multisets, not cartesian powers:
{{{
sage: list(CartesianProduct(range(3), range(3)))
[[0, 0], [0, 1], [0, 2], [1, 0], [1, 1], [1, 2], [2, 0], [2, 1], [2, 2]]
sage: list(MultichooseNK(3, 2))
[[0, 0], [0, 1], [0, 2], [1, 1], [1, 2], [2, 2]]
}}}
But as long as we have a replacement, I am fine deprecating it.
--
Ticket URL: <http://trac.sagemath.org/ticket/16473#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.