On Thu, Apr 7, 2016 at 4:03 PM, Stéfan van der Walt
wrote:
> On 7 April 2016 at 11:17, Chris Barker wrote:
> > np.col_vector(arr)
> >
> > which would be a synonym for np.reshape(arr, (-1,1))
> >
> > would that make anyone happy?
>
> I'm curious to see use cases where this doesn't solve the probl
On 7 April 2016 at 15:03, Stéfan van der Walt wrote:
> 4) x @ colvec(x) -- gives an error, but perhaps this should work and
> be equivalent to np.dot(colvec(x), rowvec(x)) ?
Sorry, that should have been
4) colvec(x) @ x
Stéfan
___
NumPy-Discussion ma
On Fri, Apr 8, 2016 at 9:59 AM, Charles R Harris
wrote:
> Apropos column/row vectors, I've toyed a bit with the idea of adding a
> flag to numpy arrays to indicate that the last index is one or the other,
> and maybe neither.
>
I don't follow this. wouldn't it ony be an issue for 1D arrays, rath
On Fri, Apr 8, 2016 at 12:17 PM, Chris Barker wrote:
> On Fri, Apr 8, 2016 at 9:59 AM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>> Apropos column/row vectors, I've toyed a bit with the idea of adding a
>> flag to numpy arrays to indicate that the last index is one or the other,
>>
On Thu, Apr 7, 2016 at 4:04 PM Stéfan van der Walt
wrote:
> On 7 April 2016 at 11:17, Chris Barker wrote:
> > np.col_vector(arr)
> >
> > which would be a synonym for np.reshape(arr, (-1,1))
> >
> > would that make anyone happy?
>
> I'm curious to see use cases where this doesn't solve the proble
On Fri, Apr 8, 2016 at 3:55 PM, Charles R Harris
wrote:
>
>
> On Fri, Apr 8, 2016 at 12:17 PM, Chris Barker
> wrote:
>
>> On Fri, Apr 8, 2016 at 9:59 AM, Charles R Harris <
>> charlesr.har...@gmail.com> wrote:
>>
>>> Apropos column/row vectors, I've toyed a bit with the idea of adding a
>>> flag
On 4/8/2016 4:28 PM, Ian Henriksen wrote:
The biggest things to me are having a broadcasting 2D transpose and having some
form of transpose that doesn't silently pass 1D arrays through unchanged.
This comment, like much of this thread, seems to long
for the matrix class but not want to actuall
On Fri, Apr 8, 2016 at 2:52 PM, wrote:
>
>
> On Fri, Apr 8, 2016 at 3:55 PM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Fri, Apr 8, 2016 at 12:17 PM, Chris Barker
>> wrote:
>>
>>> On Fri, Apr 8, 2016 at 9:59 AM, Charles R Harris <
>>> charlesr.har...@gmail.com> wrote:
>
On Fri, Apr 8, 2016 at 2:09 PM, Alan Isaac wrote:
> On 4/8/2016 4:28 PM, Ian Henriksen wrote:
>>
>> The biggest things to me are having a broadcasting 2D transpose and having
>> some
>> form of transpose that doesn't silently pass 1D arrays through unchanged.
>
>
>
> This comment, like much of thi
On Fri, Apr 8, 2016 at 5:11 PM, Charles R Harris
wrote:
>
>
> On Fri, Apr 8, 2016 at 2:52 PM, wrote:
>
>>
>>
>> On Fri, Apr 8, 2016 at 3:55 PM, Charles R Harris <
>> charlesr.har...@gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, Apr 8, 2016 at 12:17 PM, Chris Barker
>>> wrote:
>>>
On Fri, Apr 8,
On 4/8/2016 5:13 PM, Nathaniel Smith wrote:
he doesn't want 2d matrices, he wants
tools that make it easy to work with stacks of 2d matrices stored in
2-or-more-dimensional arrays.
Like `map`?
Alan Isaac
___
NumPy-Discussion mailing list
NumPy-Disc
On Fri, Apr 8, 2016 at 4:04 PM Alan Isaac wrote:
> On 4/8/2016 5:13 PM, Nathaniel Smith wrote:
> > he doesn't want 2d matrices, he wants
> > tools that make it easy to work with stacks of 2d matrices stored in
> > 2-or-more-dimensional arrays.
>
>
> Like `map`?
>
> Alan Isaac
>
>
Sorry if there's
12 matches
Mail list logo