On 24 Mai, 05:08, Matthew <mrock...@gmail.com> wrote:
> You're right - it's unclear if this should be an event or a random
> variable. Thanks for the heads up on 'or'. I was hoping to use | for
> 'given' in the future. I'll figure this out when I get there. Isn't
> '==' ok to use though? Isn't it __eq__? I thought that 'is' was the
> forbidden one.

'==' is forbidden too, because it is Python equality and not
mathematical equality. E.g. in Python:

>>> (x + 1)**2 == x**2 + 2*x + 1
False

Vinzent

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to