Re: [Numpy-discussion] numpy log and exceptions

2014-10-22 Thread Julian Taylor
On 22.10.2014 05:52, Daniel Hyams wrote: I would have thought that this snippet would raise an exception: import numpy numpy.seterr(all='raise') a = numpy.array([1.0,0.0,-1.0]) b = numpy.log(a) I get as a result (in b): [0, -Inf, NaN] It's basically the same issue as:

Re: [Numpy-discussion] numpy log and exceptions

2014-10-22 Thread Daniel Hyams
Julian Taylor jtaylor.debian at googlemail.com writes: What platform are you using? whether you get exceptions or not depends on your math library. Windows 7. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] numpy log and exceptions

2014-10-22 Thread Nathaniel Smith
I guess we could make this more consistent by hand if we wanted - isnan is pretty cheap? On 22 Oct 2014 07:44, Julian Taylor jtaylor.deb...@googlemail.com wrote: On 22.10.2014 05:52, Daniel Hyams wrote: I would have thought that this snippet would raise an exception: import numpy

Re: [Numpy-discussion] numpy log and exceptions

2014-10-22 Thread Daπid
On 22 October 2014 15:43, Nathaniel Smith n...@pobox.com wrote: I guess we could make this more consistent by hand if we wanted - isnan is pretty cheap? Can it be made avoiding storing the full bool array? The 1/8 memory overhead can be problematic for large arrays.

Re: [Numpy-discussion] numpy log and exceptions

2014-10-22 Thread Nathaniel Smith
On 22 Oct 2014 14:57, Daπid davidmen...@gmail.com wrote: On 22 October 2014 15:43, Nathaniel Smith n...@pobox.com wrote: I guess we could make this more consistent by hand if we wanted - isnan is pretty cheap? Can it be made avoiding storing the full bool array? The 1/8 memory overhead

[Numpy-discussion] Bug in 1.9?

2014-10-22 Thread Neil Girdhar
Hello, Is this desired behaviour or a regression or a bug? http://stackoverflow.com/questions/26497656/how-do-i-align-a-numpy-record-array-recarray Thanks, Neil ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] Bug in 1.9?

2014-10-22 Thread Charles R Harris
On Wed, Oct 22, 2014 at 11:32 AM, Neil Girdhar mistersh...@gmail.com wrote: Hello, Is this desired behaviour or a regression or a bug? http://stackoverflow.com/questions/26497656/how-do-i-align-a-numpy-record-array-recarray Thanks, I'd guess that the definition of aligned may have

Re: [Numpy-discussion] Bug in 1.9?

2014-10-22 Thread Julian Taylor
On 22.10.2014 20:00, Charles R Harris wrote: On Wed, Oct 22, 2014 at 11:32 AM, Neil Girdhar mistersh...@gmail.com mailto:mistersh...@gmail.com wrote: Hello, Is this desired behaviour or a regression or a bug?

Re: [Numpy-discussion] Bug in 1.9?

2014-10-22 Thread Charles R Harris
On Wed, Oct 22, 2014 at 12:28 PM, Julian Taylor jtaylor.deb...@googlemail.com wrote: On 22.10.2014 20:00, Charles R Harris wrote: On Wed, Oct 22, 2014 at 11:32 AM, Neil Girdhar mistersh...@gmail.com mailto:mistersh...@gmail.com wrote: Hello, Is this desired behaviour or

[Numpy-discussion] successful Windows x64 build with acml-5.3.1 ifort64 static libs passes tests

2014-10-22 Thread Mark Mikofski
* Either windows sdk 7 or ms visual studio 2008 is required, however Fortran compilers are not.* Download acml5.3.1-ifort64.exe from  http://developer.amd.com/tools-and-sdks/cpu-development/amd-core-math-library-acml/acml-downloads-resources/  and it extracts to c:\AMD\acml5.3.1 * NOTE: There is

[Numpy-discussion] Fwd: [julia-dev] OpenBLAS machines

2014-10-22 Thread Fernando Perez
Not sure if folks saw this one... Might be interesting to contact this team from the python side of things. Cheers f -- Forwarded message -- From: Zhang Xianyi traits.zh...@gmail.com Date: Sun, Oct 19, 2014 at 12:50 AM Subject: [julia-dev] OpenBLAS machines To: Julia Dev

Re: [Numpy-discussion] MKL not available as separate download since 10/16/2014

2014-10-22 Thread Mark Mikofski
Michael, Thanks for your response. The Intel Math Kernel Library package with just the static and dynamic libraries for blas, lapack (similar to AMD's acml self extracting zip file) is what I think many Windows users were depending on to build Python's numerical and scientific libraries