Programming, Cplusplus.
reshape, let’s consider adding the layout as a template parameter. Indeed, although the layout could be a parameter set at runtime only, being able to set it at compile time will enable nice optimizations later. Thus the xarray has two layout parameters: one static (the template parameter) and one