[Numpy-discussion] Random int64 and float64 numbers

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sun Nov 1 21:55:17 EST 2009


josef.pktd at gmail.com wrote:
>
> array([ Inf,  Inf,  Inf,  Inf,  Inf,  Inf,  Inf,  Inf,  Inf,  Inf])
>
> might actually be the right answer if you want a uniform distribution
> on the real line.

Does it make sense to define a uniform random variable whose range is
the extended real line ? It would not have a distribution w.r.t the
Lebesgue measure, right ?

I must confess I am quickly lost in the maths in statistics, though,

David



More information about the NumPy-Discussion mailing list