[Numpy-discussion] Switching default order to column-major
Hi, I found that the documented default row-major order is enforced throughout the library with a series of `order='C'` default parameters, so given this I supposed there's no way to change the default (or am I wrong?) If, supposedly, I'd change that by patching the library (substituting 'C's for 'F's), do you think there would by any problem with other downstream libraries using numpy in my project? Do you think they assume a default-constructed array is always row-major and access the underlying data? ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Re: Switching default order to column-major
On Sat, Nov 11, 2023 at 8:07 AM Valerio De Benedetto wrote: > Hi, I found that the documented default row-major order is enforced > throughout the library with a series of `order='C'` default parameters, so > given this I supposed there's no way to change the default (or am I wrong?) > If, supposedly, I'd change that by patching the library (substituting 'C's > for 'F's), do you think there would by any problem with other downstream > libraries using numpy in my project? Do you think they assume a > default-constructed array is always row-major and access the underlying > data? > Nobody expects the column major arrays. Chuck ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com