add reshaping section
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Oct 2018 00:41:02 +0000 (01:41 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Oct 2018 00:41:02 +0000 (01:41 +0100)
simple_v_extension/specification.mdwn

index 894a62f9be9133f075d981f3ecd6632536e4477f..cc8626e13b31139d5c32233cf93eaba88eab36f5 100644 (file)
@@ -475,7 +475,7 @@ shows this more clearly, and may be executed as a python program:
 
     lims = [xdim, ydim, zdim]
     idxs = [0,0,0]
-    order = [1,0,2]
+    order = [1,0,2] # experiment with different permutations, here
 
     for idx in range(xdim * ydim * zdim):
         new_idx = idxs[0] + idxs[1] * xdim + idxs[2] * xdim * ydim