Re: [Numpy-discussion] the fast way to loop over ndarray elements?

2012-11-19 Thread Thouis (Ray) Jones
On Sat, Nov 17, 2012 at 8:28 AM, Chao YUE chaoyue...@gmail.com wrote: Dear all, I need to make a linear contrast of the 2D numpy array data from an interval to another, the approach is: I have another two list: base target, then I check for each ndarray element data[i,j], if base[m] =

[Numpy-discussion] Use OpenBLAS for the binary releases?

2012-11-19 Thread Sturla Molden
I think NumPy and SciPy should consider to use OpenBLAS (a fork of GotoBLAS2) instead of ATLAS or f2c'd Netlib BLAS for the binary releases. Here are its virtues: * Very easy to build: Just a makefile, no configuration script or special build tools. * Building ATLAS can be a PITA. So why

Re: [Numpy-discussion] Use OpenBLAS for the binary releases?

2012-11-19 Thread Daniele Nicolodi
On 19/11/2012 18:12, Sturla Molden wrote: I think NumPy and SciPy should consider to use OpenBLAS (a fork of GotoBLAS2) instead of ATLAS or f2c'd Netlib BLAS for the binary releases. ... * Funded and developed for use in major Chinese HPC projects. Actively maintained. (GotoBLAS2 is

Re: [Numpy-discussion] Use OpenBLAS for the binary releases?

2012-11-19 Thread Frédéric Bastien
Hi, it was mainly developed by one person and he left for Intel. They relicensed GotoBLAS to BSD 3 clauses and some Chinese people forked it to OpenBLAS. There was another fork, but I didn't got news of it. Maybe I just missed the news. Fred On Mon, Nov 19, 2012 at 12:20 PM, Daniele Nicolodi

Re: [Numpy-discussion] Use OpenBLAS for the binary releases?

2012-11-19 Thread Dag Sverre Seljebotn
On 11/19/2012 06:12 PM, Sturla Molden wrote: I think NumPy and SciPy should consider to use OpenBLAS (a fork of GotoBLAS2) instead of ATLAS or f2c'd Netlib BLAS for the binary releases. Here are its virtues: * Very easy to build: Just a makefile, no configuration script or special build

Re: [Numpy-discussion] Use OpenBLAS for the binary releases?

2012-11-19 Thread Sturla Molden
On 19.11.2012 18:42, Dag Sverre Seljebotn wrote: Even on CPUs that are not directly supported, this is at least better than reference BLAS. (On our AMD CPUs, which are too new to have a separate OpenBLAS implementation, the implementations for older AMD CPUs still outperform at least Intel

Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-19 Thread Charles R Harris
On Mon, Nov 19, 2012 at 4:17 PM, Virgil Stokes v...@it.uu.se wrote: I am using the latest versions of numpy (from numpy-1.7.0b2-win32-superpack-python2.7.exe) and scipy (from scipy-0.11.0-win32-superpack-python2.7.exe ) on a windows 7 (32-bit) platform. I have used import numpy as np q,r