TreeData

TreeData[tree]

Treeオブジェクト tree の根のデータを取り出す.

詳細

例題

すべて開くすべて閉じる

  (2)

木の根のデータを抽出する:

TreeExtractの中でTreeDataを使う:

特性と関係  (3)

TreeData[Tree[data,subtrees]]dataを与える:

TreeChildren[tree]Noneを与えるとき,RootTree[tree]Tree[TreeData[tree],None]を与える:

TreeChildren[tree]がリストを与えるとき.RootTree[tree]Tree[TreeData[tree],{}]を与える:

Wolfram Research (2021), TreeData, Wolfram言語関数, https://reference.wolfram.com/language/ref/TreeData.html (2021年に更新).

テキスト

Wolfram Research (2021), TreeData, Wolfram言語関数, https://reference.wolfram.com/language/ref/TreeData.html (2021年に更新).

CMS

Wolfram Language. 2021. "TreeData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/TreeData.html.

APA

Wolfram Language. (2021). TreeData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TreeData.html

BibTeX

@misc{reference.wolfram_2024_treedata, author="Wolfram Research", title="{TreeData}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/TreeData.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_treedata, organization={Wolfram Research}, title={TreeData}, year={2021}, url={https://reference.wolfram.com/language/ref/TreeData.html}, note=[Accessed: 22-November-2024 ]}