Array.flatten()

From ZCubes Wiki
Jump to navigation Jump to search

Array.flatten()

Flatten the array into a single dimensional array.

MAGICSQUARE(3).flatten()

2
7
6
9
5
1
4
3
8