You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C++ types for multi-dimensional arrays (yardl::FixedNDArray, yardl::NDArray, and yardl::DynamicNDArray) are all locked to row-major layout at compile-time.
We will eventually support languages that default to column-major ordering. HDF5 requires data to be written in row-major order, so we will need to convert. For the binary format, we could do the same, or we could prefix each array with a byte indicating the layout. This could avoid expensive permutations if readers and writers are both working with column-major ordering.
The text was updated successfully, but these errors were encountered:
The C++ types for multi-dimensional arrays (
yardl::FixedNDArray
,yardl::NDArray
, andyardl::DynamicNDArray
) are all locked to row-major layout at compile-time.We will eventually support languages that default to column-major ordering. HDF5 requires data to be written in row-major order, so we will need to convert. For the binary format, we could do the same, or we could prefix each array with a byte indicating the layout. This could avoid expensive permutations if readers and writers are both working with column-major ordering.
The text was updated successfully, but these errors were encountered: