Ask Your Question

Revision history [back]

This works for me:

sage: H.subs(x=z[0,0],y=z[1,0])

This works for me:

sage: H.subs(x=z[0,0],y=z[1,0])

(z is a matrix, so it requires two indices to specify an element.)

This works for me:

sage: H.subs(x=z[0,0],y=z[1,0])
H.substitute(x=z[0,0],y=z[1,0])

(z is a matrix, so it requires two indices to specify an element.)