First time here? Check out the FAQ!
answered 2021-01-12 05:11:55 +0100
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)]