TreeLeaves

TreeLeaves[tree]

tree の葉のリストを返す.

詳細

例題

すべて開くすべて閉じる

  (1)

木の葉を得る:

特性と関係  (3)

TreeLeaves[tree]TreeLevel[tree,{-1}]に等しい:

TreeLeaves[tree]TreeLeafQTrueを返す部分木のリストを返す:

TreeLeafCount[tree]Length[TreeLeaves[tree]]に等しい:

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

テキスト

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_treeleaves, organization={Wolfram Research}, title={TreeLeaves}, year={2022}, url={https://reference.wolfram.com/language/ref/TreeLeaves.html}, note=[Accessed: 21-November-2024 ]}