On Sat, May 29, 2010 at 12:27, Keith Goodman <kwgood...@gmail.com> wrote:
> Will making changes to arr2 never change arr1 if
>
> arr2 = arr1[np.ix_(*lists)]
>
> where lists is a list of (index) lists? np.ix_ returns a tuple of
> arrays so I'm guessing (and hoping) the answer is yes.

Correct.

-- 
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
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to