Re: [Numpy-discussion] MemoryError with dot(A, A.T) where A is 800MB on 32-bit Vista

2010-06-09 Thread Xavier Saint-Mleux
Alan G Isaac wrote: > On 6/9/2010 12:49 PM, greg whittier wrote: > >> Is there a way to do A*A.T without two >> copies of A? >> > > Does this do what you want? > Alan Isaac > > a > array([[0, 1], > [2, 3], > [4, 5], > [6, 7], > [8, 9]])

Re: [Numpy-discussion] making the distinction between -0.0 and 0.0..

2009-09-29 Thread Xavier Saint-Mleux
Christopher Barker wrote: > Pauli Virtanen wrote: > >> Tue, 29 Sep 2009 09:53:40 -0700, Christopher Barker wrote: >> [clip] >> >>> How can I identify -0.0? >>> >> signbit >> >> > > perfect for numpy, but at this point I don't have a numpy dependency > (very unusual for my code!

Re: [Numpy-discussion] PRNGs and multi-threading

2009-08-21 Thread Xavier Saint-Mleux
he implementations that I know of are GPL. A recent article about this is: www.iro.umontreal.ca/~lecuyer/myftp/papers/jumpmt.pdf Xavier Saint-Mleux ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] alter_code1.py changes .stddev() to .std() ...

2007-07-11 Thread Xavier Saint-Mleux
to choose the divisor, but what is everybody using in the mean time? Thanks, Xavier Saint-Mleux ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Conversion float64->int bugged?

2007-07-09 Thread Xavier Saint-Mleux
ke Python's 'float_int' or 'long_int' functions (see $PYTHON_SRC_DIR/Objects/floatobject.c, $PYTHON_SRC_DIR/Objects/longobject.c): if it doesn't fit in an int, return a long. For now (svn), it seems that numpy is always using PyInt_FromLong after an implici