Depth[expr]
式 expr の任意の部分を指定するために必要な指標の最大数に1を加算した数を返す.


Depth
Depth[expr]
式 expr の任意の部分を指定するために必要な指標の最大数に1を加算した数を返す.
例題
すべて開く すべて閉じる例 (3)
スコープ (10)
一般的な式の深さ (5)
特別な式の深さ (5)
DepthはSparseArrayオブジェクトおよび構造配列オブジェクトを対応する通常のリストのように扱う:
アプリケーション (2)
特性と関係 (5)
関連項目
関連するガイド
-
▪
- 式の構造 ▪
- メモリの計測と最適化 ▪
- 式
履歴
1988 で導入 (1.0) | 2003 で更新 (5.0) ▪ 2010 (8.0) ▪ 2018 (11.3)
テキスト
Wolfram Research (1988), Depth, Wolfram言語関数, https://reference.wolfram.com/language/ref/Depth.html (2018年に更新).
CMS
Wolfram Language. 1988. "Depth." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/Depth.html.
APA
Wolfram Language. (1988). Depth. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Depth.html
BibTeX
@misc{reference.wolfram_2025_depth, author="Wolfram Research", title="{Depth}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/Depth.html}", note=[Accessed: 17-September-2025]}
BibLaTeX
@online{reference.wolfram_2025_depth, organization={Wolfram Research}, title={Depth}, year={2018}, url={https://reference.wolfram.com/language/ref/Depth.html}, note=[Accessed: 17-September-2025]}