From 29509cedb9af2715328e44c481738a9ba05cff73 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 3 Nov 2021 15:51:15 -0400 Subject: =?UTF-8?q?Use=20=E2=8B=88=20rather=20than=20=E2=89=8D=E2=97=8B

In terms of the argument data as given by Deshape (), this looks like a simple 2-dimensional transpose: one axis is exchanged with a compound axis made up of the other axes. Here we transpose a rank 3 matrix:

-↗️
    a322  322⥊↕12
-    < a322
+↗️
    a322  322⥊↕12
+     a322
 ┌─                      
 · ┌─        ┌─          
   ╎  0  1   ╎ 0 4  8    
@@ -53,7 +53,7 @@
                        ┘
 

But, ignoring the whitespace and going in reading order, the argument and result have exactly the same element ordering as for the rank 2 matrix ˘ a322:

-↗️
    < ˘ a322
+↗️
     ˘ a322
 ┌─                          
 · ┌─            ┌─          
   ╵ 0 1  2  3   ╵ 0 4  8    
-- 
cgit v1.2.3