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クライアントから使う