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

2015-04-01 Thread Sturla Molden
"Klemm, Michael" 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 native dgemm oper

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

2015-04-01 Thread Nathaniel Smith
On Apr 1, 2015 12:55 PM, wrote: > > On Wed, Apr 1, 2015 at 3:47 PM, Nathaniel Smith wrote: > > On Wed, Apr 1, 2015 at 11:34 AM, Jaime Fernández del Río > > wrote: > >> This question on StackOverflow: > >> > >> http://stackoverflow.com/questions/29394377/minimum-of-numpy-array-ignoring-diagonal >

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 wrote: > On Wed, Apr 1, 2015 at 11:34 AM, Jaime Fernández del Río > 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

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 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. Unfortunately it is only

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 in

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 wrote: > Charles R Harris 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

[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 an

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

2015-04-01 Thread Sturla Molden
Charles R Harris 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 Eclipse?), like Python does

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, wrote: > On Wed, Apr 1, 2015 at 12:04 PM, Charles R Harris > 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

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 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 myself and make no claim o

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 wrote: > That would really be hilarious - and "IFortran" probably! :) > > Shawn > > On Wed, Apr 1, 2015 at 12:07 PM, Benjamin Root wrote:

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 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 > wrot

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 wrote: > Hi All, > > In a recent exchange Mark Wiebe suggested that the lack of support for > numpy development in Visual Studio might l

[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 t

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 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 > extracted. The orthogonal

[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 each