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 客户端使用