Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Sebastian Berg
On Di, 2014-09-16 at 16:51 -0400, Nathaniel Smith wrote: On Tue, Sep 16, 2014 at 4:31 PM, Jaime Fernández del Río jaime.f...@gmail.com wrote: If it is a bug, it is an extended one, because it is the same behavior of einsum: np.einsum('i,i', [1,1,1], [1]) 3 np.einsum('i,i', [1,1,1],

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Sebastian Berg
On Mi, 2014-09-17 at 06:33 -0600, Charles R Harris wrote: snip It would also be nice if the order could be made part of the signature as DGEMM and friends like one of the argument axis to be contiguous, but I don't see a clean way to do that. The gufuncs do have an order parameter

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Charles R Harris
On Wed, Sep 17, 2014 at 6:48 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mi, 2014-09-17 at 06:33 -0600, Charles R Harris wrote: snip It would also be nice if the order could be made part of the signature as DGEMM and friends like one of the argument axis to be

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Charles R Harris
On Wed, Sep 17, 2014 at 6:57 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:48 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mi, 2014-09-17 at 06:33 -0600, Charles R Harris wrote: snip It would also be nice if the order could be made

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Jaime Fernández del Río
On Wed, Sep 17, 2014 at 1:27 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:57 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:48 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mi, 2014-09-17 at 06:33 -0600,

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Charles R Harris
On Wed, Sep 17, 2014 at 3:01 PM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Wed, Sep 17, 2014 at 1:27 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:57 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:48 AM,

Re: [Numpy-discussion] Is this a bug?

2014-09-17 Thread Charles R Harris
On Wed, Sep 17, 2014 at 3:29 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 3:01 PM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Wed, Sep 17, 2014 at 1:27 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Sep 17, 2014 at 6:57 AM,