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.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Find the depth to which an array is full:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Generalizations & Extensions  (1)

Properties & Relations  (1)

See Also

Dimensions  Depth  ArrayQ  VectorQ  MatrixQ  PadLeft  ArrayFlatten

Tutorials

Introduced in 2003
(5.0)