Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Testing /

ArrayDepth

FilledSmallSquare 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.

FilledSmallSquare ArrayDepth[list] is equivalent to Length[Dimensions[list]].

FilledSmallSquare Examples: ArrayDepth[a,b] LongRightArrow; ArrayDepth[a,b] LongRightArrow.

FilledSmallSquare See Section 2.4.3 and Section 3.7.11.

FilledSmallSquare See also: Dimensions, Depth, ArrayQ, VectorQ, MatrixQ, PadLeft.

FilledSmallSquare New in Version 5.0.

Further Examples



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.