Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Depth

Usage

Depth[expr] gives the maximum number of indices needed to specify any part of expr, plus one.


Notes

• Raw objects have depth 1.
• The computation of Depth does not include heads of expressions.
Depth treats SparseArray objects just like the corresponding ordinary lists.
• See Section 2.1.7.
• See also: ArrayDepth, Level, LeafCount, Length, Nest.
• New in Version 1; modified in 5.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: