#17920: Reimplement IntegerLists using Polyhedron.integral_points()
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17920 | b0a04aa5a4454766ed9802d8e99abcd7fb3e105b
Dependencies: #17937 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:27 tscrim]:
> Do you have some timings?
My code is much slower.
> Also, both of these are wrong:
> {{{
> sage: Compositions(3, max_length=2, inner=[1,1,1]).list()
> []
> sage: Compositions(10, outer=[4], inner=[1,1]).list()
> []
> }}}
> The first should be `[[2, 1], [1, 2]]`
I don't think so. The `Compositions` code explicitly adds the length of
the `inner` argument as minimal length. I didn't change this.
--
Ticket URL: <http://trac.sagemath.org/ticket/17920#comment:29>
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.