Re: [sage-devel] domains for variables

2010-07-29 Thread Johannes
sorry, wrong list. Am 30.07.2010 00:01, schrieb Johannes: > Hi list, > i try to solve a linear equation in ZZ in the variables w_i: > > sage: variables = [var("w" + str(i),domain=ZZ)for i in range(s.nvertices())] > sage: eq > (w0 + w1 + w2 - 14*w3, w1 + 2*w2 - 8*w3, 2*w2 - 3*w3) > sage: result > [w

[sage-devel] domains for variables

2010-07-29 Thread Johannes
Hi list, i try to solve a linear equation in ZZ in the variables w_i: sage: variables = [var("w" + str(i),domain=ZZ)for i in range(s.nvertices())] sage: eq (w0 + w1 + w2 - 14*w3, w1 + 2*w2 - 8*w3, 2*w2 - 3*w3) sage: result [w0 == 15/2*r548, w1 == 5*r548, w2 == 3/2*r548, w3 == r548] up to here it'