gtensor icon indicating copy to clipboard operation
gtensor copied to clipboard

row major layout support

Open bd4 opened this issue 4 years ago • 0 comments

Follow convention of xtensor, i.e. add another template param for gt::layout_type::row_major, gt::layout_type::column_major. For backward compatibility we can make the default column_major, but since it's a C++ lib, maybe we should consider switching the default.

See https://xtensor.readthedocs.io/en/latest/container.html?highlight=layout#internal-memory-layout

bd4 avatar Apr 14 '21 13:04 bd4