Difference between revisions of "Array.flipparts()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
 
==Array.flipparts()==
 
==Array.flipparts()==
 
Switch first and second half of an array.
 
Switch first and second half of an array.
 +
 
[[3,2,1],[9,8,7],[11,12,13]].flipparts()
 
[[3,2,1],[9,8,7],[11,12,13]].flipparts()
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 31:
 
==See Also==
 
==See Also==
 
[[Array.flip() |Flip]]
 
[[Array.flip() |Flip]]
[[Array.flipparts() |Flipparts]]
+
 
 +
[[Array.transpose() |Transpose]]

Latest revision as of 05:10, 17 April 2020

Array.flipparts()

Switch first and second half of an array.

[[3,2,1],[9,8,7],[11,12,13]].flipparts()

9 8 7
11 12 13
3 2 1

MS(4).flipparts()

8 10 11 5
13 3 2 16
1 15 14 4
12 6 7 9

See Also

Flip

Transpose