TreeChildren
TreeChildren[tree]
Treeオブジェクト tree の根の子を抽出する.
詳細
- TreeChildrenはTree[data,{subtree1,subtree2,…}]の子{subtree1,subtree2,…}を返す.
- TreeChildren[Tree[data,None]]はNoneを与える.
例題
すべて開くすべて閉じる特性と関係 (4)
TreeChildren[Tree[data,subtrees]]は subtrees を与える:
TreeChildren[Tree[data,{}]]は{}を与える:
TreeChildren[Tree[data,None]]はNoneを与える:
TreeChildren[tree]がNoneを与えるとき,RootTree[tree]はTree[TreeData[tree],None]を与える:
TreeChildren[tree]がリストを与えるとき.RootTree[tree]はTree[TreeData[tree],{}]を与える:
TreeChildren[tree]がリストを与えるとき,TreeChildren[tree]はTreeLevel[tree,{1}]に等しい:
テキスト
Wolfram Research (2021), TreeChildren, Wolfram言語関数, https://reference.wolfram.com/language/ref/TreeChildren.html (2022年に更新).
CMS
Wolfram Language. 2021. "TreeChildren." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/TreeChildren.html.
APA
Wolfram Language. (2021). TreeChildren. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TreeChildren.html