On Thu, Apr 2, 2009 at 19:18, Charles R Harris
wrote:
>
>
> On Thu, Apr 2, 2009 at 5:50 PM, wrote:
>>
>> On Thu, Apr 2, 2009 at 6:46 PM, Charles R Harris
>> wrote:
>> > Note:
>> >
>> > In [133]: l = [[1,0,0],[1,1,0],[1,1,1]]
>> >
>> > In [134]: dstack(l)
>> > Out[134]:
>> > array([[[1, 1, 1],
>>
On Thu, Apr 2, 2009 at 5:50 PM, wrote:
> On Thu, Apr 2, 2009 at 6:46 PM, Charles R Harris
> wrote:
> > Note:
> >
> > In [133]: l = [[1,0,0],[1,1,0],[1,1,1]]
> >
> > In [134]: dstack(l)
> > Out[134]:
> > array([[[1, 1, 1],
> > [0, 1, 1],
> > [0, 0, 1]]])
> >
> > In [135]: dstack(l
On Thu, Apr 2, 2009 at 6:46 PM, Charles R Harris
wrote:
> Note:
>
> In [133]: l = [[1,0,0],[1,1,0],[1,1,1]]
>
> In [134]: dstack(l)
> Out[134]:
> array([[[1, 1, 1],
> [0, 1, 1],
> [0, 0, 1]]])
>
> In [135]: dstack(l).shape
> Out[135]: (1, 3, 3)
>
>
> Shouldn't the shape be (3,3)? A
Note:
In [133]: l = [[1,0,0],[1,1,0],[1,1,1]]
In [134]: dstack(l)
Out[134]:
array([[[1, 1, 1],
[0, 1, 1],
[0, 0, 1]]])
In [135]: dstack(l).shape
Out[135]: (1, 3, 3)
Shouldn't the shape be (3,3)? Also, for generalized ufuncs and broadcasting
I think a function that stacked along
David Cournapeau wrote:
> Well, yes, it could be a totally different, incompatible python that it
> would still do as you said - distutils cannot be trusted at all to do
> the right thing here,
quite true -- though hopefully you now what is on your system, so it can
only go so wrong.
However I j