[SciPy-User] rv_discrete

nicky van foreest vanforeest@gmail....
Wed Aug 22 04:40:00 CDT 2012


Hi,

How can I find out whether a frozen rv is a subclass of rv_discrete or
rv_continuous. This doesn't work:

X = stats.norm(10, np.sqrt(10))
print issubclass(X.__class__, stats.rv_continuous)

thanks

Nicky


More information about the SciPy-User mailing list