Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need a matrix that can handle symbolic expressions

M =  matrix(SR,2,2)  #m.zeros((2,2));
for i in range(2):
    for j in range(2):
        M[int(i),int(j)] = sol[s[i]]+ sol[s[j+2]] 
show(M)