[Numpy-discussion] fancy view question

Stéfan van der Walt stefan@sun.ac...
Tue Feb 17 09:30:14 CST 2009


2009/2/17 Robert Kern <robert.kern@gmail.com>:
>> To get back to the fun part:  I see now the zoomed view is not a view
>> but a new array.  How do we get around that?
>
> You can't. numpy's memory model simply cannot represent that permutation.

Right, something like the PIL's pointer-to-pointers format.

I should have realised when I had to introduce dummy dimensions to do
a reshape that this was the case.

Cheers
Stéfan


More information about the Numpy-discussion mailing list