Qurak

Flatten nested arrays

Example 1 step, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
ArrayPlot /@ NestList[ArrayFlatten[# /. 1 -> {{1, 0}, {1, 1}}]&, {{1}}, 5]
Output
{-Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-}

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client