On Thursday, 29 April 2021 at 15:56:48 UTC, jmh530 wrote:
What you're basically asking for the first one is to convert for row major to column major. There doesn't seem to be a specific function for that, but you can piece it together. The second one is just applying allReversed to the result of that. So we have:
[snip] Got an extra `universal` import there.