Programming, Cplusplus.
parameter have to compute new strides based on the shape and the layout. Since there is a chance that other parts of the library need this functionality, we encapsulate it in a dedicated free function: This function accepts arbitrary container types for the shape and the strides, this way it is not