Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
2011/12/27 Jordi Gutiérrez Hermoso jord...@octave.org On 26 December 2011 14:56, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Dec 26, 2011 at 8:50 PM, josef.p...@gmail.com wrote: I have a hard time thinking through empty 2-dim arrays, and don't know what rules should apply.

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-28 Thread Ralf Gommers
On Wed, Dec 21, 2011 at 10:05 PM, Russell E. Owen ro...@uw.edu wrote: In article CABL7CQi_jQZgHa5rL8aSsb_PEmAPTNXyUyQutgQtz=_ljux...@mail.gmail.com, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Tue, Dec 20, 2011 at 10:52 PM, Russell E. Owen ro...@uw.edu wrote: In article

Re: [Numpy-discussion] Functions vs Methods

2011-12-28 Thread Robert Kern
On Wed, Dec 28, 2011 at 06:39, Jaidev Deshpande deshpande.jai...@gmail.com wrote: Hi It is said that function calls are expensive. Does that mean one must use available methods instead? For the most part, it usually doesn't matter enough to care about. Whether you use the methods or the

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 09:33 AM, Ralf Gommers wrote: 2011/12/27 Jordi Gutiérrez Hermoso jord...@octave.org mailto:jord...@octave.org On 26 December 2011 14:56, Ralf Gommers ralf.gomm...@googlemail.com mailto:ralf.gomm...@googlemail.com wrote: On Mon, Dec 26, 2011 at 8:50

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: On 12/28/2011 09:33 AM, Ralf Gommers wrote: 2011/12/27 Jordi Gutiérrez Hermosojord...@octave.org mailto:jord...@octave.org On 26 December 2011 14:56, Ralf Gommersralf.gomm...@googlemail.com mailto:ralf.gomm...@googlemail.com

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: On 12/28/2011 09:33 AM, Ralf Gommers wrote: 2011/12/27 Jordi Gutiérrez Hermosojord...@octave.org mailto:jord...@octave.org On 26

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 02:21 PM, Ralf Gommers wrote: On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no mailto:d.s.seljeb...@astro.uio.no wrote: On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: On 12/28/2011 09:33 AM, Ralf Gommers wrote:

[Numpy-discussion] dtype related deprecations

2011-12-28 Thread Ralf Gommers
Hi, I'm having some trouble cleaning up tests to deal with these two deprecations: DeprecationWarning: Setting NumPy dtype names is deprecated, the dtype will become immutable in a future version DeprecationWarning: DType strings 'O4' and 'O8' are deprecated because they are platform specific.

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
On Wed, Dec 28, 2011 at 2:45 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 12/28/2011 02:21 PM, Ralf Gommers wrote: On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no mailto:d.s.seljeb...@astro.uio.no wrote: On 12/28/2011 01:52 PM,

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Travis Oliphant
I agree with Dag, NumPy should provide consistent handling of empty arrays. It does require some work, but it should be at least declared a bug when it doesn't. Travis -- Travis Oliphant (on a mobile) 512-826-7480 On Dec 28, 2011, at 7:45 AM, Dag Sverre Seljebotn

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Jordi Gutiérrez Hermoso
On 28 December 2011 03:33, Ralf Gommers ralf.gomm...@googlemail.com wrote: 2011/12/27 Jordi Gutiérrez Hermoso jord...@octave.org On 26 December 2011 14:56, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Dec 26, 2011 at 8:50 PM, josef.p...@gmail.com wrote: I have a hard time

[Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Jordi Gutiérrez Hermoso
Just FYI, the next stable release of Octave (3.6) will have broadcasting. I used Numpy as an inspiration. Here is the WIP manual for it: http://jordi.platinum.linux.pl/octave.html/Broadcasting.html#Broadcasting I want to thank Numpy both for the inspiration and for any comments you may have

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Ralf Gommers
2011/12/28 Jordi Gutiérrez Hermoso jord...@octave.org Just FYI, the next stable release of Octave (3.6) will have broadcasting. I used Numpy as an inspiration. Here is the WIP manual for it: http://jordi.platinum.linux.pl/octave.html/Broadcasting.html#Broadcasting That looks good. Should

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Jordi Gutiérrez Hermoso
On 28 December 2011 13:41, Ralf Gommers ralf.gomm...@googlemail.com wrote: 2011/12/28 Jordi Gutiérrez Hermoso jord...@octave.org Just FYI, the next stable release of Octave (3.6) will have broadcasting. I used Numpy as an inspiration. Here is the WIP manual for it:  

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Olivier Delalleau
2011/12/28 Jordi Gutiérrez Hermoso jord...@octave.org On 28 December 2011 13:41, Ralf Gommers ralf.gomm...@googlemail.com wrote: 2011/12/28 Jordi Gutiérrez Hermoso jord...@octave.org Just FYI, the next stable release of Octave (3.6) will have broadcasting. I used Numpy as an

[Numpy-discussion] fft help

2011-12-28 Thread Burlen Loring
Hi I have an image I need to do an fft on, I tried numpy.fft but results are not what I expected, and differ from matlab. My input image is a weird size, 5118x1279, I think numpy fft is not liking it. In numpy the fft appears to be computed multiple times and tiled across the output image. In

Re: [Numpy-discussion] NumPy Governance

2011-12-28 Thread Ondrej Certik
On Mon, Dec 5, 2011 at 4:22 AM, Perry Greenfield pe...@stsci.edu wrote: I'm not sure I'm crazy about leaving final decision making for a board. A board may be a good way of carefully considering the issues, and it could make it's own recommendation (with a sufficient majority). But in the end

Re: [Numpy-discussion] NumPy Governance

2011-12-28 Thread Travis Oliphant
That was an extremely helpful and useful post. Thank you Ondrej for sharing it and taking the time to provide that insight. Travis -- Travis Oliphant (on a mobile) 512-826-7480 On Dec 29, 2011, at 12:51 AM, Ondrej Certik ond...@certik.cz wrote: On Mon, Dec 5, 2011 at 4:22 AM, Perry