The issue is that refine() has very little implemented so far. It's
mostly a proof-of-concept at this point. You'll get better results for
now if you use the old assumptions, i.e., x = Symbol('x', real=True).Aaron Meurer On Mon, Oct 20, 2014 at 4:26 AM, Chong Wang <[email protected]> wrote: > I wonder why the following code will not remove conjugate: > > from sympy import * > x = Symbol('x') > refine(conjugate(x), Q.real(x)) > > the outcome is: > > conjugate(x) > > I wonder why refine does't remove the conjugate function. > > BTW, Mathematica also handles conjugate rather poorly. I wonder whether > conjugate is hard to deal with. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/abe5dc7b-875e-45f3-868e-dc1bc5619938%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6Le5V3SAxOHEH%3DxZuy6sKQ%2B_b0ahWgiq8NWemdvvQws0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
