Qurak

TreeReplacePart

可用

Replaces the subtree at a given position (or list of positions) in a tree with a new value

TreeReplacePart[tree, pos -> new]
TreeReplacePart[tree, {pos1 -> new1, pos2 -> new2, …}]
TreeReplacePart[tree, {pos1, pos2, …} -> new]
TreeReplacePart[tree, {{pos1, 1, pos1, 2, …} -> new1, …}]
TreeReplacePart[pos -> new]

主題

相關

全部 6300 個函式 · 從 MCP 用戶端使用這個