#8901: negative integers in IntegerVectors()
-----------------------------+----------------------------------------------
Reporter: ecurry | Owner: sage-combinat
Type: defect | Status: new
Priority: minor | Milestone: sage-4.4.2
Component: combinatorics | Keywords: integer, vector
Author: Eva Curry | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
IntegerVectors() seems to only include vectors with positive integer
entries:
{{{
sage: [-1,4] in IntegerVectors()
False
}}}
Can the class be changed to include vectors with some/all negative integer
entries as well, or create a new, larger class for all integer vectors
(since I can imagine that having a class for positive integer vectors
would be useful in some applications)?
Thanks,
Eva
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8901>
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 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.