Comment #3 on issue 3104 by [email protected]: Expectation value of random variables raises maximum recursion depth exceeded
http://code.google.com/p/sympy/issues/detail?id=3104

Ideally both solutions would be in place. I suspect you're more interested in the first while I'm more interested in the second.

Primarily I'm interested to get things working well. And the two proposals have
different focus albeit they both can solve the problem in question.

The simplification of random variable expressions in a worthwhile goal
in any case.

Do you have an idea about how the first can be implemented in a general way?

Not the slightest guess

Some sort of table lookup?

I don't like lookup tables. Everything that is not in the table does not work.
Thus I prefer algorithmic solutions if possible.

And here we have a huge set of possible "identities" or "transformations".




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

Reply via email to