It would be nice to support creating an array with Fortran layout using write_zeroed_npy. I considered using ndarray::ShapeBuilder for this, but that trait doesn't currently expose enough information about the shape/layout for ndarray-npy to use it. We could add our own trait like ShapeBuilder, but the duplication seems unnecessary. ndarray is planning to overhaul the constructor API anyway, so I plan to wait until that's done and see if we can reuse types/traits from ndarray.
If someone has a need for this feature in the short-term, please comment here.
It would be nice to support creating an array with Fortran layout using
write_zeroed_npy
. I considered usingndarray::ShapeBuilder
for this, but that trait doesn't currently expose enough information about the shape/layout forndarray-npy
to use it. We could add our own trait likeShapeBuilder
, but the duplication seems unnecessary.ndarray
is planning to overhaul the constructor API anyway, so I plan to wait until that's done and see if we can reuse types/traits fromndarray
.If someone has a need for this feature in the short-term, please comment here.