| 1 | initial version |
Here is a quick hack.
q=ex1.operands()
map(lambda w: w.subs(x=1,y=1,z=1),q)
I don't see an obvious command to extract abstract coefficients, even list doesn't work.
| 2 | No.2 Revision |
Here is a quick hack.
q=ex1.operands()
map(lambda w: w.subs(x=1,y=1,z=1),q)
w.subs(x=1,y=1,z=1),ex.operands())
I don't see an obvious command to extract abstract coefficients, even list doesn't work.
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.