Mathematica 9 is now available

ArrayDepth

Usage

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.


Notes

ArrayDepth[list] is equivalent to Length[Dimensions[list]].
• Examples: ArrayDepth[ a,b ]LongRightArrow ; ArrayDepth[ a, b  ]LongRightArrow .
• New in Version 5.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.