Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives a list of the dimensions of expr.

gives a list of the dimensions of expr down to level n.

Details and OptionsDetails and Options

  • expr must be a full array, with all the pieces of expr at a particular level having the same length. (The elements of expr can then be thought of as filling up a hyperrectangular region.)
  • Each successive level in expr sampled by Dimensions must have the same head.
  • For SparseArray objects, Dimensions yields the dimensions of the corresponding ordinary lists.
Introduced in 1988
| Updated in 2003