Qurak

Flatten nested arrays

1 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。

ステップ 1
ArrayPlot /@ NestList[ArrayFlatten[# /. 1 -> {{1, 0}, {1, 1}}]&, {{1}}, 5]
出力
{-Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-, -Graphics-}

使用する関数

関連レシピ

すべてのレシピ · 関数リファレンス · MCPクライアントから使う