#17920: Reimplement IntegerLists using Polyhedron.integral_points()
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: blocker | 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]:
> The first should be `[[2, 1], [1, 2]]` since the `inner` (or `outer`)
are not related to the min or max lengths.
To clarify: you might be confusing with the `floor` and `ceiling`
arguments of `IntegerListsLex`. Those do not have any effect on the
length, but `inner`/`outer` ''do'' add lower/upper bounds to the length.
With both the existing code as well as with my code, we have for example
{{{
sage: Compositions(3, inner=[1,1,1]).list()
[[1, 1, 1]]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17920#comment:32>
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.