[SciPy-User] deterministic random variable

Nathaniel Smith njs at pobox.com
Fri May 28 14:11:04 EDT 2010


On Fri, May 28, 2010 at 10:38 AM,  <josef.pktd at gmail.com> wrote:
> pdf(x), cdf(x)  with x float would need to know whether x is a support
> point, but which might not be equal to the actual point because of
> floating point problems.
> So, the direct translation of rv_discrete doesn't work, and it looks
> like at least pdf needs to be accessible either pointwise for queries
> or using known support points for actual calculations.

Discrete distributions on the real line don't *have* a pdf...

-- Nathaniel



More information about the SciPy-User mailing list