0
Does transposing an F-style array AND changing an F-style array to C-style means the same?
You can see from the code below that changing to c-style and Transposing an f-style produces the same ordered array. If it is so then why the two styles are there in numpy.? https://code.sololearn.com/cX4E8bnH2EVc/?ref=app Or does it related to any type of memory occupation?
3 ответов
+ 3
As the docs suggest, there is no impact on memory utilization:
https://numpy.org/doc/stable/reference/generated/numpy.reshape.html
The implementation was done out of convenience to conform to both styles as they both might have strong legacy data, software or systems.
0
Kuba Siekierzyński thanks that really helped.
0
Kuba Siekierzyński i am focusing on speed. Then which would be faster? Transpose or f,c style ordering.