Look at the function in simplify.py. All the simplification functions are
there (with the exception of expand(), if you consider that to be a
simplification function). There is also .rewrite, though this is currently not
very strong.
For this particular case, I am not so sure that it is implemented. It maybe
should be implemented in .rewrite (abs(x).rewrite(sqrt) or something).
Aaron Meurer
On Apr 22, 2011, at 8:57 AM, Matthew Rocklin wrote:
> Is there a resource somewhere that lists all the methods of simplification?
>
> Right now I'm trying to make this work
>
> x = Symbol('x')
> a = sqrt(x*x.conjugate())
> b = abs(x)
> a==b
> False
>
> I know that some simplification methods work better in certain cases. I have
> yet to find the one that works here.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.