I'm unclear what this line is doing
https://github.com/sympy/sympy/blob/e015652bf34987128bca3176d1c939fbd0d486cf/sympy/core/expr.py#L613.
It looks like it evaluates it, at least in some cases.

Probably Chris Smith could give a more definite answer.

Aaron Meurer

On Mon, Feb 9, 2015 at 5:20 PM, Ondřej Čertík <[email protected]> wrote:
> On Mon, Feb 9, 2015 at 4:15 PM, Aaron Meurer <[email protected]> wrote:
>> On Mon, Feb 9, 2015 at 5:11 PM, Ondřej Čertík <[email protected]> 
>> wrote:
>>> On Mon, Feb 9, 2015 at 3:37 PM, Aaron Meurer <[email protected]> wrote:
>>>> Doesn't expr.equals also do something similar to this?
>>>
>>> No, that uses symbolics (thus it is not able to check complex
>>> expressions or it will be slow).
>>>
>>> Btw, you already asked this exact question here:
>>>
>>> https://github.com/sympy/sympy/pull/8036#issuecomment-55969269
>>>
>>> and my answer is right below it.
>>
>> Heh.
>>
>> But I seem to remember equals plugging in values. Maybe it used to do
>> it, but doesn't any more?
>
> The code is here:
>
> https://github.com/sympy/sympy/blob/e015652bf34987128bca3176d1c939fbd0d486cf/sympy/core/expr.py#L563
>
> Ondrej
>
> --
> 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/CADDwiVCB2Ftb_bAQUNnh2F%3DeHZA_Oy1dOrTn7W5ApkfATfOpsQ%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 [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%3D6LBTww%3DvNVTj6hUu6sJ0QUt%3DohbPcNo5b6bAq1rFsiiUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to