Re: [Numpy-discussion] Numpy 1.10

2015-03-12 Thread Ralf Gommers
On Fri, Mar 13, 2015 at 7:29 AM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Thu, Mar 12, 2015 at 10:16 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Sun, Mar 8, 2015 at 3:43 PM, Ralf Gommers >> wrote: >> >>> >>> >>> On Sat, Mar 7, 2015 at 12:40 AM, Char

Re: [Numpy-discussion] Numpy 1.10

2015-03-12 Thread Jaime Fernández del Río
On Thu, Mar 12, 2015 at 10:16 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Sun, Mar 8, 2015 at 3:43 PM, Ralf Gommers > wrote: > >> >> >> On Sat, Mar 7, 2015 at 12:40 AM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >>> Hi All, >>> >>> Time to start thinking abou

Re: [Numpy-discussion] Numpy 1.10

2015-03-12 Thread Charles R Harris
On Sun, Mar 8, 2015 at 3:43 PM, Ralf Gommers wrote: > > > On Sat, Mar 7, 2015 at 12:40 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> Hi All, >> >> Time to start thinking about numpy 1.10. >> > > Sounds good. Do we have a volunteer for release manager already? > I guess it is my

Re: [Numpy-discussion] Numpy where

2015-03-12 Thread Benjamin Root
I think the question is if scalars should be acceptable for the first argument, not if it should be for the 2nd and 3rd argument. If scalar can be given for the first argument, the the first three makes sense. Although, I have no clue why we would allow that. Ben Root On Mar 12, 2015 9:25 PM, "Na

Re: [Numpy-discussion] Numpy where

2015-03-12 Thread Nathaniel Smith
On Mar 12, 2015 5:02 PM, "Charles R Harris" wrote: > > Hi All, > > This is apropos gh-5582 dealing with some corner cases of np.where. The following are the current behavior > > >>> import numpy > >>> numpy.where(True) # case 1 > ... (array([0]),) > >>> numpy.where(True, None, None) # case 2 > .

[Numpy-discussion] Numpy where

2015-03-12 Thread Charles R Harris
Hi All, This is apropos gh-5582 dealing with some corner cases of np.where. The following are the current behavior >>> import numpy >>> numpy.where(True) # case 1 ... (array([0]),) >>> numpy.where(True, None, None) # case 2 ... array(None, dtype=object

Re: [Numpy-discussion] tie breaking for max, min, argmax, argmin

2015-03-12 Thread Julian Taylor
On 03/12/2015 02:42 PM, Robert Kern wrote: > On Thu, Mar 12, 2015 at 1:31 PM, Johannes Kulick > > wrote: >> >> Hello, >> >> I wonder if it would be worth to enhance max, min, argmax and argmin > (more?) >> with a tie breaking parameter: If multiple ent

Re: [Numpy-discussion] tie breaking for max, min, argmax, argmin

2015-03-12 Thread Robert Kern
On Thu, Mar 12, 2015 at 1:31 PM, Johannes Kulick < johannes.kul...@ipvs.uni-stuttgart.de> wrote: > > Hello, > > I wonder if it would be worth to enhance max, min, argmax and argmin (more?) > with a tie breaking parameter: If multiple entries have the same value the first > value is returned by now.

[Numpy-discussion] tie breaking for max, min, argmax, argmin

2015-03-12 Thread Johannes Kulick
Hello, I wonder if it would be worth to enhance max, min, argmax and argmin (more?) with a tie breaking parameter: If multiple entries have the same value the first value is returned by now. It would be useful to have a parameter to alter this behavior to an arbitrary tie-breaking. I would propose

Re: [Numpy-discussion] Introductory mail and GSoc Project "Vector math library integration"

2015-03-12 Thread Julian Taylor
On 03/12/2015 10:15 AM, Gregor Thalhammer wrote: > > Another note, numpy makes it easy to provide new ufuncs, see > http://docs.scipy.org/doc/numpy-dev/user/c-info.ufunc-tutorial.html > from a C function that operates on 1D arrays, but this function needs to > support arbitrary spacing (stride) b

Re: [Numpy-discussion] Introductory mail and GSoc Project "Vector math library integration"

2015-03-12 Thread Neal Becker
Ralf Gommers wrote: > On Wed, Mar 11, 2015 at 11:20 PM, Dp Docs wrote: > >> >> >> On Thu, Mar 12, 2015 at 2:01 AM, Daπid wrote: >> > >> > On 11 March 2015 at 16:51, Dp Docs wrote: >> >> On Wed, Mar 11, 2015 at 7:52 PM, Sturla Molden >> >> >> wrote: >> >> > >> >> > There are at least two ways

Re: [Numpy-discussion] Introductory mail and GSoc Project "Vector math library integration"

2015-03-12 Thread Gregor Thalhammer
> Am 11.03.2015 um 23:18 schrieb Dp Docs : > > > > On Wed, Mar 11, 2015 at 10:34 PM, Gregor Thalhammer > mailto:gregor.thalham...@gmail.com>> wrote: > > > > > > On the scipy mailing list I also answered to Amine, who is also interested > > in this proposal. > ​​ Can you provide the link of th

Re: [Numpy-discussion] Introductory mail and GSoc Project "Vector math library integration"

2015-03-12 Thread Dp Docs
Thanks to all of you for such a nice Discussion and Suggestion. I think most of my doubts have been resolved. If there will be something more i will let you people Know. Thanks again. -- Durgesh pandey IIIT Hyderabad,India ___ NumPy-Discussion mailing li

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-12 Thread Sebastian Berg
On Di, 2015-03-10 at 11:22 -0700, Nathaniel Smith wrote: > On Mar 10, 2015 11:15 AM, "Paul Hobson" wrote: > > > > > > On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris > wrote: > >> > >> > >> > >> On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson > wrote: > >>> > >>> I feel your pain. Making it worse,

Re: [Numpy-discussion] Introductory mail and GSoc Project "Vector math library integration"

2015-03-12 Thread Ralf Gommers
On Wed, Mar 11, 2015 at 11:20 PM, Dp Docs wrote: > > > On Thu, Mar 12, 2015 at 2:01 AM, Daπid wrote: > > > > On 11 March 2015 at 16:51, Dp Docs wrote: > >> On Wed, Mar 11, 2015 at 7:52 PM, Sturla Molden > wrote: > >> > > >> > There are at least two ways to proceed here. One is to only use vect