| 1 | initial version |
Your original expressions have a problem :
sage: e1.operator()
<function add_vararg at 0x7f1ddc9dddc0>
sage: e1.operands()[1]
xi(Y, x)
sage: e2.operator()
<function add_vararg at 0x7f1ddc9dddc0>
sage: e2.operands()[1]
xi(Y, x)
We might as well work on the first operands :
sage: e10=e1.operands()[0]
sage: e10.operator()
<function mul_vararg at 0x7f1ddc9dde50>
so far so good. But :
sage: e10.operands()[0].denominator()
0
Your e10 is a fraction of null denominator. No wonder Maxima gags on it. BTW :
sage: e2.operands()[0].operands()[0].denominator()
0
e2 has the same problem.
How did you derive e1 and e2 ? The root of your problem is there...
HTH,
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.