On Mon, Dec 1, 2014 at 3:43 PM, Chris Swierczewski <cswie...@gmail.com> wrote:
>
>> I wouldn't worry about the fact that things don't expand
>> automatically. This sort of thing is intentional. If users want things
>> to expand, they will call expand(), or simplify() (which will probably
>> end up calling expand()), and things will simplify then thanks to the
>> _eval_power routine.
>
>
> Thanks for the confirmation.
>
> Is there a collection of methods which are called when certain actions are
> performed on an expression? That is, I eventually discovered that
> _eval_power() is called whenever the object is exponentiated. Are there
> similar methods for other operations?

Not all operations have it, but those that do are usually named _eval_something.

Aaron Meurer

>
> Also, for anyone reading this who is interested, I created an issue tracking
> this new feature here: https://github.com/sympy/sympy/issues/8543
>
> --
> Chris
>
> --
> 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 sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> 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/CACx6PThHLwA5uj3qOf-xhvrW1bbiP6QWvmJXpjhROp-5dHDojA%40mail.gmail.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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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%3D6%2BSQthBZ-x9mTc-kdTV3mNjVQ%2BBcQ3NMRNhD4D8N3tqnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to