[Numpy-discussion] Concatenating Arrays to make Views

Robert Kern robert.kern@gmail....
Mon Dec 15 13:59:52 CST 2008


On Mon, Dec 15, 2008 at 11:39, Benjamin Haynor <bhaynor@hotmail.com> wrote:
> Hi,
>
> I was wondering if I can concatenate 3 arrays, where the result will be a
> view of the original three arrays, instead of a copy of the data.

No, this is not possible in general with numpy's memory model.

-- 
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