Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > List Manipulation > Elements of Lists >
Mathematica > Data Manipulation > Handling Arrays of Data > Elements of Lists >

ArrayDepth

ArrayDepth[expr]
gives the depth to which expr is a full array, with all the parts at a particular level being lists of the same length, or is a SparseArray object.
Find the depth to which an array is full:
Find the depth of a SparseArray:
Find the array depth of a list of sparse matrices:
Use a head other than List:
ArrayDepth gives the length of the dimensions list:
New in 5 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team