Hi, On 16 June 2011 20:09, smichr <smi...@gmail.com> wrote:
> The exp(x)*exp(-x) term in the Poly should cancel, shouldn't it? > >>> Poly(exp(x) + exp(-x) - y)*exp(x) > Poly(-y*exp(x) + exp(-x)*exp(x) + exp(x)**2, y, exp(-x), exp(x), > domain='ZZ') > Polynomials can't contain negative exponents, so exp(x) and exp(-x) = 1/exp(x) are treated as two different generators. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > Mateusz -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.