Under what conditions can arrays be C-contiguous and F-contiguous simultaneosly?
I can think of the following:
- The 1D case that is trivially C- and F-contiguous.
- Similarly, multi-dimensional arrays where all dimensions are singleton dimensions except for one.
Are there any others?