[Numpy-discussion] Advanced indexing: fancy vs. orthogonal

2015-04-01 Thread R Hattersley
There are two different interpretations in common use of how to handle multi-valued (array/sequence) indexes. The numpy style is to consider all multi-valued indices together which allows arbitrary points to be extracted. The orthogonal style (e.g. as provided by netcdf4-python) is to consider

Re: [Numpy-discussion] Advanced indexing: fancy vs. orthogonal

2015-04-01 Thread Jaime Fernández del Río
On Wed, Apr 1, 2015 at 2:17 AM, R Hattersley rhatters...@gmail.com wrote: There are two different interpretations in common use of how to handle multi-valued (array/sequence) indexes. The numpy style is to consider all multi-valued indices together which allows arbitrary points to be

[Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Charles R Harris
Hi All, In a recent exchange Mark Wiebe suggested that the lack of support for numpy development in Visual Studio might limit the number of developers attracted to the project. I'm a vim/console developer myself and make no claim of familiarity with modern development tools, but I wonder if such

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Benjamin Root
mixed C and python development? I would just wait for the Jupyter folks to create IC and maybe even IC++! On Wed, Apr 1, 2015 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, In a recent exchange Mark Wiebe suggested that the lack of support for numpy development in

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Yuxiang Wang
That would really be hilarious - and IFortran probably! :) Shawn On Wed, Apr 1, 2015 at 12:07 PM, Benjamin Root ben.r...@ou.edu wrote: mixed C and python development? I would just wait for the Jupyter folks to create IC and maybe even IC++! On Wed, Apr 1, 2015 at 12:04 PM, Charles R Harris

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread josef.pktd
On Wed, Apr 1, 2015 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, In a recent exchange Mark Wiebe suggested that the lack of support for numpy development in Visual Studio might limit the number of developers attracted to the project. I'm a vim/console developer

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Edison Gustavo Muenz
The PTVS can debug into native code. On Wed, Apr 1, 2015 at 2:21 PM, josef.p...@gmail.com wrote: On Wed, Apr 1, 2015 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, In a recent exchange Mark Wiebe suggested that the lack of support for numpy development in

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Sturla Molden
Charles R Harris charlesr.har...@gmail.com wrote: I'd be interested in information from anyone with experience in using such an IDE and ideas of how Numpy might make using some of the common IDEs easier. Thoughts? I guess we could include project files for Visual Studio (and perhaps

[Numpy-discussion] Adding 'where' to ufunc methods?

2015-04-01 Thread Jaime Fernández del Río
This question on StackOverflow: http://stackoverflow.com/questions/29394377/minimum-of-numpy-array-ignoring-diagonal Got me thinking that I had finally found a use for the 'where' kwarg of ufuncs. Unfortunately it is only provided for the ufunc itself, but not for any of its methods. Is there

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Eraldo Pomponi
Sorry for the OT and top-posting but, It reminds me of ITex (https://www.youtube.com/watch?v=eKaI78K_rgA) ... On Wed, Apr 1, 2015 at 6:43 PM, Yuxiang Wang yw...@virginia.edu wrote: That would really be hilarious - and IFortran probably! :) Shawn On Wed, Apr 1, 2015 at 12:07 PM, Benjamin

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-01 Thread Charles R Harris
On Wed, Apr 1, 2015 at 11:55 AM, Sturla Molden sturla.mol...@gmail.com wrote: Charles R Harris charlesr.har...@gmail.com wrote: I'd be interested in information from anyone with experience in using such an IDE and ideas of how Numpy might make using some of the common IDEs easier.

Re: [Numpy-discussion] Adding 'where' to ufunc methods?

2015-04-01 Thread Benjamin Root
Another usecase would be for MaskedArrays. ma.masked_array.min() wouldn't have to make a copy anymore (there is a github issue about that). It could just pass its mask into the where= argument of min() and be done with it. Problem would be generalizing situations where where= effectively results

Re: [Numpy-discussion] Adding 'where' to ufunc methods?

2015-04-01 Thread Nathaniel Smith
On Wed, Apr 1, 2015 at 11:34 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: This question on StackOverflow: http://stackoverflow.com/questions/29394377/minimum-of-numpy-array-ignoring-diagonal Got me thinking that I had finally found a use for the 'where' kwarg of ufuncs.

Re: [Numpy-discussion] How to Force Storage Order

2015-04-01 Thread Sturla Molden
Klemm, Michael michael.kl...@intel.com wrote: I have found that the numpy.linalg.svd algorithm creates the resulting U, sigma, and V matrixes with Fortran storage. Is there any way to force these kind of algorithms to not change the storage order? That would make passing the matrixes to the

Re: [Numpy-discussion] Adding 'where' to ufunc methods?

2015-04-01 Thread josef.pktd
On Wed, Apr 1, 2015 at 3:47 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Apr 1, 2015 at 11:34 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: This question on StackOverflow: http://stackoverflow.com/questions/29394377/minimum-of-numpy-array-ignoring-diagonal Got me thinking

Re: [Numpy-discussion] Adding 'where' to ufunc methods?

2015-04-01 Thread Nathaniel Smith
On Apr 1, 2015 12:55 PM, josef.p...@gmail.com wrote: On Wed, Apr 1, 2015 at 3:47 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Apr 1, 2015 at 11:34 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: This question on StackOverflow: