[Numpy-discussion] fancy view question

Robert Kern robert.kern@gmail....
Tue Feb 17 09:25:00 CST 2009


On Tue, Feb 17, 2009 at 09:21, Stéfan van der Walt <stefan@sun.ac.za> wrote:
> 2009/2/17 Robert Kern <robert.kern@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