Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Nathaniel Smith
On Thu, Aug 7, 2014 at 1:00 AM, Charles R Harris wrote: > > Just to be clear, the '@' broadcasting differs from > the dot broadcasting, agreed? Right, np.dot does the equivalent of ufunc.outer (i.e., not broadcasting at all), while @ broadcasts. -n -- Nathaniel J. Smith Postdoctoral researcher

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 5:51 PM, Nathaniel Smith wrote: > On 7 Aug 2014 00:41, "Charles R Harris" wrote: > > > > On Wed, Aug 6, 2014 at 5:33 PM, Nathaniel Smith wrote: > >> > >> On Thu, Aug 7, 2014 at 12:24 AM, Charles R Harris > >> wrote: > >> > > >> > On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Nathaniel Smith
On 7 Aug 2014 00:41, "Charles R Harris" wrote: > > On Wed, Aug 6, 2014 at 5:33 PM, Nathaniel Smith wrote: >> >> On Thu, Aug 7, 2014 at 12:24 AM, Charles R Harris >> wrote: >> > >> > On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel Smith wrote: >> >> >> >> On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harr

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 5:33 PM, Nathaniel Smith wrote: > On Thu, Aug 7, 2014 at 12:24 AM, Charles R Harris > wrote: > > > > On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel Smith wrote: > >> > >> On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harris > >> wrote: > >> > Should also mention that we don't hav

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Nathaniel Smith
On Thu, Aug 7, 2014 at 12:24 AM, Charles R Harris wrote: > > On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel Smith wrote: >> >> On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harris >> wrote: >> > Should also mention that we don't have the ability to operate on stacked >> > vectors because they can't be id

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 5:24 PM, Charles R Harris wrote: > > > > On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel Smith wrote: > >> On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harris >> wrote: >> > Should also mention that we don't have the ability to operate on stacked >> > vectors because they can't be

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 4:57 PM, Nathaniel Smith wrote: > On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harris > wrote: > > Should also mention that we don't have the ability to operate on stacked > > vectors because they can't be identified by dimension info. One > workaround > > is to add dummy dim

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Nathaniel Smith
On Wed, Aug 6, 2014 at 4:32 PM, Charles R Harris wrote: > Should also mention that we don't have the ability to operate on stacked > vectors because they can't be identified by dimension info. One workaround > is to add dummy dimensions where needed, another is to add two flags, row > and col, and

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Alan G Isaac
> On Wed, Aug 6, 2014 at 8:32 AM, Charles R Harris wrote: >> Should also mention that we don't have the ability to >> operate on stacked vectors because they can't be >> identified by dimension info. One >> workaround is to add dummy dimensions where needed, >> another is to add two flags, row and

Re: [Numpy-discussion] How to give feedback to github

2014-08-06 Thread Fernando Perez
The form at: https://github.com/contact or simly email supp...@github.com are the options. I've used it a couple of times and they've been responsive. Cheers f On Wed, Aug 6, 2014 at 1:42 PM, Charles R Harris wrote: > Does anyone know how to complain about features to github? The new autho

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Chris Barker
On Wed, Aug 6, 2014 at 8:32 AM, Charles R Harris wrote: > Should also mention that we don't have the ability to operate on stacked > vectors because they can't be identified by dimension info. One workaround > is to add dummy dimensions where needed, another is to add two flags, row > and col, an

[Numpy-discussion] How to give feedback to github

2014-08-06 Thread Charles R Harris
Does anyone know how to complain about features to github? The new author selection list for PRs is practically useless as 1) it only lists authors belonging to the project and 2) it doesn't list the number of PRs for each author. The old list was far more useful. Chuck ___

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 9:32 AM, Charles R Harris wrote: > > > > On Wed, Aug 6, 2014 at 8:32 AM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> On Wed, Aug 6, 2014 at 5:31 AM, Nathaniel Smith wrote: >> >>> I think the other obvious strategy to consider, is defining a 'dot' >>> gufu

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Charles R Harris
On Wed, Aug 6, 2014 at 8:32 AM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Wed, Aug 6, 2014 at 5:31 AM, Nathaniel Smith wrote: > >> I think the other obvious strategy to consider, is defining a 'dot' >> gufunc, with semantics identical to @. (This would be useful for >> backcompa

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Jaime Fernández del Río
On Wed, Aug 6, 2014 at 5:31 AM, Nathaniel Smith wrote: > I think the other obvious strategy to consider, is defining a 'dot' > gufunc, with semantics identical to @. (This would be useful for > backcompat as well: adding/dropping compatibility with older python > versions would be as simple as me

Re: [Numpy-discussion] Preliminary thoughts on implementing __matmul__

2014-08-06 Thread Nathaniel Smith
On Wed, Aug 6, 2014 at 2:19 AM, Charles R Harris wrote: > Hi All, > > I've been looking to implement the "@" operator from Python 3.5. Looking at > the current implementation of the dot function, it only uses a vector inner > product, which is either that defined in arraytypes.c.src or a version u