Comment #1 on issue 4109 by [email protected]: Binomial probability
density doesn't work
http://code.google.com/p/sympy/issues/detail?id=4109
I am unable to reproduce this error with your script on my machine with the
git development version.
However the underlying issue is genuine; BinomialDistribution depends on
explicit computation of binomial coefficients to produce the probability
density function. I'm not sure that there is a clear way around this.
You should be able to create these variables with symbolic inputs. You
can't compute quanitites that rely on their densities without having
explicit numbers.
This limitation should only extend to the finite variable types (like
bernoulli and binomial) which depend on explicit counting. Continuous
variables (like normal/uniform) and discrete/infinite variables (like
Poisson) should not suffer from this issue.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.