On Thu, Apr 4, 2013 at 11:26 AM,  <josef.p...@gmail.com> wrote:
>> Before you answer that -- does anyone see a use case for the 'A' and
>> 'K' flags that can't be reasonably easily accomplished with .view() or
>> asarray() or ???
>
> What order does   a[a>2]  use to create the returned 1-D array?
...
> However, I never needed to know and never cared
> a[a>2] = 5
> a[a>2] = b[a>2]
>
> Now, after this thread, I know about "K",

does that use case use ravel() or reshape() under the hood?

> and there might be cases
> where it would be appropriate to minimize copying memory,

hmm -- yes, that makes sense, and perhaps compelling enough to keep
them around (at least with perhaps better docs).

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to