Here's a ticket:
https://trac.sagemath.org/ticket/23939
Should be a nice beginner task, if anyone's looking for one!
--Ursula.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, sen
Good question :-)
On 28/09/2017 20:00, Ursula Whitcher wrote:
Yes, that looks like exactly the functionality I wanted!
Why doesn't the documentation at
http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/integer_vector.html
link to the documentation for integer lists?
--Ursula.
Yes, that looks like exactly the functionality I wanted!
Why doesn't the documentation at
http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/integer_vector.html
link to the documentation for integer lists?
--Ursula.
On Thursday, September 28, 2017 at 10:27:14 AM UTC-4, vdelecroi
Do you mean
sage: IntegerListsLex(length=2, min_sum=0, max_sum=5).list()
[[5, 0],
[4, 1],
[4, 0],
[3, 2],
[3, 1],
[3, 0],
[2, 3],
[2, 2],
[2, 1],
[2, 0],
[1, 4],
[1, 3],
[1, 2],
[1, 1],
[1, 0],
[0, 5],
[0, 4],
[0, 3],
[0, 2],
[0, 1],
[0, 0]]
On 28/09/2017 15:55, u...@umich.ed
In preparation for Sage Days 91, I'm looking at the thesis of Malcolm Kotok
(as in https://trac.sagemath.org/ticket/19865 ). That thesis incorporates a
class to list all non-negative integer vectors of a fixed length with sum
less than n.
I see that we already have an IntegerVectors class for n