[Numpy-discussion] fancy view question

Stéfan van der Walt stefan at sun.ac.za
Tue Feb 17 10:30:14 EST 2009


2009/2/17 Robert Kern <robert.kern at 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