[Numpy-discussion] nditer gurus: is there a more efficient way to do this?

2013-02-10 Thread Dave Hirschfeld
I have two NxMx3 arrays and I want to reduce over the last dimension of the first array by selecting those elements corresponding to the index of the maximum value of each 3-vector of the second array to give an NxM result. Hopefully that makes sense? If not hopefully the example below will shed

Re: [Numpy-discussion] ANN: NumPy 1.7.0 release

2013-02-10 Thread Dag Sverre Seljebotn
On 02/10/2013 11:58 AM, Dag Sverre Seljebotn wrote: > On 02/10/2013 03:36 AM, Neal Becker wrote: >> Is there a way to add '-march=native' flag to gcc for the build? > > I think something along these lines should work (untested): > > CFLAGS="$(python-config --cflags) -march=native" python setup.py i

Re: [Numpy-discussion] ANN: NumPy 1.7.0 release

2013-02-10 Thread Dag Sverre Seljebotn
On 02/10/2013 03:36 AM, Neal Becker wrote: > Is there a way to add '-march=native' flag to gcc for the build? I think something along these lines should work (untested): CFLAGS="$(python-config --cflags) -march=native" python setup.py install Dag Sverre __

Re: [Numpy-discussion] ANN: NumPy 1.7.0 release

2013-02-10 Thread Francesc Alted
Exciting stuff. Thanks a lot to you and everybody implied in the release for an amazing job. Francesc El 10/02/2013 2:25, "Ondřej Čertík" va escriure: > Hi, > > I'm pleased to announce the availability of the final release of > NumPy 1.7.0. > > Sources and binary installers can be found at > htt