Qurak

TreeRules

利用可能

Gives the nested-rule representation of a tree (leaf -> data; inner node -> data -> child rules)

TreeRules[tree]
TreeRules[Tree[a, {}]] → aTreeRules[Tree[a, <||>]] → a

トピック

関連

全 6300 関数 · MCPクライアントから使う