Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Expression Structure >

Depth

Depth[expr]
gives the maximum number of indices needed to specify any part of expr, plus one.
  • Raw objects have depth 1.
  • The computation of Depth does not include heads of expressions.
New in 1 | Last modified in 5
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team