<div dir="ltr">On Sat, Mar 30, 2013 at 3:21 PM, Matthew Brett <span dir="ltr"><<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">On Sat, Mar 30, 2013 at 2:20 PM,  <<a href="mailto:josef.pktd@gmail.com">josef.pktd@gmail.com</a>> wrote:<br>

> On Sat, Mar 30, 2013 at 4:57 PM,  <<a href="mailto:josef.pktd@gmail.com">josef.pktd@gmail.com</a>> wrote:<br>
>> On Sat, Mar 30, 2013 at 3:51 PM, Matthew Brett <<a href="mailto:matthew.brett@gmail.com">matthew.brett@gmail.com</a>> wrote:<br>>>> On Sat, Mar 30, 2013 at 4:14 AM,  <<a href="mailto:josef.pktd@gmail.com">josef.pktd@gmail.com</a>> wrote:<br>

>>>> On Fri, Mar 29, 2013 at 10:08 PM, Matthew Brett <<a href="mailto:matthew.brett@gmail.com">matthew.brett@gmail.com</a>> wrote:<br>>>>>><br>
>>>>> Ravel and reshape use the tems 'C' and 'F" in the sense of index ordering.<br>
>>>>><br>
>>>>> This is very confusing.  We think the index ordering and memory<br>
>>>>> ordering ideas need to be separated, and specifically, we should avoid<br>
>>>>> using "C" and "F" to refer to index ordering.<br>
>>>>><br>
>>>>> Proposal<br>
>>>>> -------------<br>
>>>>><br>
>>>>> * Deprecate the use of "C" and "F" meaning backwards and forwards<br>
>>>>> index ordering for ravel, reshape<br>
>>>>> * Prefer "Z" and "N", being graphical representations of unraveling in<br>
>>>>> 2 dimensions, axis1 first and axis0 first respectively (excellent<br>
>>>>> naming idea by Paul Ivanov)<br>
>>>>><br>
>>>>> What do y'all think?<br>>>>><br>
>>>> I always thought "F" and "C" are easy to understand, I always thought about<br>
>>>> the content and never about the memory when using it.<br>>><br>
>> changing the names doesn't make it easier to understand.<br>
>> I think the confusion is because the new A and K refer to existing memory<br>
>><br><br>
</div></div>I disagree, I think it's confusing, but I have evidence, and that is<br>
that four out of four of us tested ourselves and got it wrong.<br>
<br>
Perhaps we are particularly dumb or poorly informed, but I think it's<br>
rash to assert there is no problem here.<br></blockquote><div><br></div><div style>I got all four correct.  I think the concept --- at least for ravel --- is pretty simple: would you like to read the data off in C ordering or Fortran ordering.  Since the output array is one-dimensional, its ordering is irrelevant.</div>
<div style><br></div><div style>I don't understand the 'Z' / 'N' suggestion at all.  Are they part of some pneumonic?</div><div style><br></div><div style>I'd STRONGLY advise against deprecating the 'F' and 'C' options.  NumPy already suffers from too much bikeshedding with names --- I rarely am able to pull out a script I wrote using NumPy even a few years ago and have it immediately work.</div>
<div style><br></div><div style>Cheers,</div><div style>Brad</div><div style><br></div><div style><br></div></div></div></div>