Hi Michael
On Sun, Aug 26, 2007 at 01:45:55PM +0100, Michael Nandris wrote:
> Is there an easy way around this problem, that does not involve fixing the API
> (like using NaN instead of 0.0)?
>
> >>> from numpy.random import multinomial
> >>> multinomial(100,[ 0.2, 0.4, 0.1, 0.3 ])
> array([19, 4
Hi,
Is there an easy way around this problem, that does not involve fixing the API
(like using NaN instead of 0.0)?
>>> from numpy.random import multinomial
>>> multinomial(100,[ 0.2, 0.4, 0.1, 0.3 ])
array([19, 45, 10, 26])
>>> multinomial( 100, [0.2, 0.0, 0.8, 0.0] )
Traceback (most recent cal
On Fri, Aug 24, 2007 at 05:46:55PM +0200, Vivian Tini wrote:
> Dear All,
>
> I have just installed NumPy and I am excited to test it.
> Since I have no access as root then I installed Numpy in my home directory.
> The following messages appears as I tried some commands:
>
> >>> import numpy
> R