Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2016-01-09 Thread Sebastian Berg
On Do, 2016-01-07 at 22:48 -0500, John Kirkham wrote: > First, off sorry for the long turnaround on responding to these > questions. Below I have tried to respond to everyone's questions and > comments. I have restructured the order of the messages so that my > responses are a little more structure

Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2016-01-07 Thread John Kirkham
First, off sorry for the long turnaround on responding to these questions. Below I have tried to respond to everyone's questions and comments. I have restructured the order of the messages so that my responses are a little more structured. If anybody has more thoughts or questions, please let me kn

Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2015-11-26 Thread Benjamin Root
How is this different from using np.newaxis and broadcasting? Or am I misunderstanding this? Ben Root On Tue, Nov 24, 2015 at 9:13 PM, wrote: > > > On Tue, Nov 24, 2015 at 7:13 PM, Nathaniel Smith wrote: > >> On Nov 24, 2015 11:57 AM, "John Kirkham" wrote: >> > >> > Takes an array and tacks o

Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2015-11-24 Thread josef.pktd
On Tue, Nov 24, 2015 at 7:13 PM, Nathaniel Smith wrote: > On Nov 24, 2015 11:57 AM, "John Kirkham" wrote: > > > > Takes an array and tacks on arbitrary dimensions on either side, which > is returned as a view always. Here are the relevant features: > > > > * Creates a view of the array that has

Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2015-11-24 Thread Nathaniel Smith
On Nov 24, 2015 11:57 AM, "John Kirkham" wrote: > > Takes an array and tacks on arbitrary dimensions on either side, which is returned as a view always. Here are the relevant features: > > * Creates a view of the array that has the dimensions before and after tacked on to it. > * Takes the before

[Numpy-discussion] ENH: Add the function 'expand_view'

2015-11-24 Thread John Kirkham
Takes an array and tacks on arbitrary dimensions on either side, which is returned as a view always. Here are the relevant features: * Creates a view of the array that has the dimensions before and after tacked on to it. * Takes the before and after arguments independent of each other and the c