[Numpy-discussion] fancy view question

Robert Kern robert.kern at gmail.com
Tue Feb 17 10:25:00 EST 2009


On Tue, Feb 17, 2009 at 09:21, Stéfan van der Walt <stefan at sun.ac.za> wrote:
> 2009/2/17 Robert Kern <robert.kern at gmail.com>:
>> stride_tricks are fun, but this is already a solved problem in numpy.
>
> 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.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list