[Numpy-discussion] array, asarray as contiguous and friends
Travis Oliphant
oliphant at ee.byu.edu
Fri Mar 24 14:15:04 EST 2006
Tim Hochberg wrote:
> Travis Oliphant wrote:
>
>> Tim Hochberg wrote:
>>
>>>>
>>>>
>>>> Please see the transpose example above.
>>>>
>>>>> If you combine this with one other simplification: array() always
>>>>> copies, we end up with a nice thin interface:
>>>>> # Create a new array in 'order' order. Defaults to "C" order.
>>>>> array(object, dtype=None, order="C"|"FORTRAN")
>>>>
>>>>
>>>>
>> I like the order flag. It's a relatively easy switch and one we
>> should make right now. I don't mind string constants either in this
>> case.
>
>
> Great!
>
And this is now done...
So, thankfully, the fortran= keyword is gone and replaced with the more
sensible order= keyword.
Tests for numpy pass, but any other code that used fortran= will need
changing. Sorry about that...
Thanks,
-Travis
More information about the NumPy-Discussion
mailing list