Comment #3 on issue 3716 by [email protected]: Integrals over non-interval sets
http://code.google.com/p/sympy/issues/detail?id=3716

This comes up in stats. Queries like P(X**2 > 1) produce an integrand (the probability density function) and the domain (in this case the union x < -1 U x > 1.)

It's really nice to just pass both of them off to integrate and be done with it.

In the case of FiniteSet yes, it should be zero except possibly in the case where a DiracDelta is present. Really though, I don't want to have to think about this. If someone says P(Eq(2*X, 3)) I just want to produce integral

Integral(Density(2*X), (x, FiniteSet(3)))

and hand it off to the more curated parts of SymPy.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to