| 1 | initial version |
You can use one of the following:
sage: p.subs({x:X,y:Y})
sage: p.subs(x=X,y=Y)
The first passes a dictionary to the subs method, the second sets two arguments.
When you write p.subs([x==X,y==Y]), you try to pass a list of booleans to the subs method.
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.