| 1 | initial version |
Do you mean something like this?
e = []
for j in (0..3):
e.append(x(j) - sum(A[j,i] for i in (0..1)))
or
e=[ x(j) - sum(A[j,i] for i in (0..1)) for j in (0..3)]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.