[Numpy-discussion] Re: Switching default order to column-major

2023-11-16 Thread Valerio De Benedetto
Thanks to everyone for your answers. I guess the conclusion is that changing the default ordering will do more harm than good. So, considering the C API, what do you advise to use to copy a (probably) row-major ndarray into a data structure that is always column-major? Like some kind of

[Numpy-discussion] Re: Switching default order to column-major

2023-11-16 Thread Valerio De Benedetto
Thanks to everyone for your answers. I guess the conclusion is that changing the default ordering will do more harm than good. So, considering the C API, what do you advise to use to copy a (probably) row-major ndarray into a data structure that is always column-major? Like some kind of

[Numpy-discussion] Switching default order to column-major

2023-11-11 Thread Valerio De Benedetto
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