I'm not sure the derivative really makes sense. I would either error or leave it unevaluated.
Aaron Meurer On Tue, Sep 19, 2017 at 9:19 AM, Chris Smith <[email protected]> wrote: > In PR #13204 I encountered the question of what to do with the derivative if > a Boolean. A Boolean is true or false but may contain expressions within > relationals, For example, `x**2 < y` depends on x and y but the Boolean > value is a "square wave" for this relational. Does a derivative wrt x or y > even make sense? Should an error, 0 or something else be done for a return > value? > > /c > > -- > 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 https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/13fc1fdc-caba-4336-a7df-148efa2f716a%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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6LXdyMy8Pi7wjs1P1zJ3cA5W_aLRyfQ%2B12-hJMrZhC98g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
