Qurak

Flatten nested arrays

示例 1 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。

第 1 步
ArrayPlot /@ NestList[ArrayFlatten[# /. 1 -> {{1, 0}, {1, 1}}]&, {{1}}, 5]
输出
{-Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-}

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用