Hi, I am looking for a variant of the boolean ITE(cond, x, y) function. I need only "cond" to be a bool while "x" and "y" are arbitrary symbols (they could be numbers, for example). Does sympy have a function like that? If not, any ideas on how I can go about writing one? Ideally, it should also be able to do simplifications. For example, ITE'(cond, a, b) + ITE'(cond, b, a) should be simplified to (a + b).
Mehul -- 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/b5d8f3fc-d413-4ec2-ace0-76e21ac0bae7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
