Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Dimensions

Usage

Dimensions[expr] gives a list of the dimensions of expr.
Dimensions[expr, n] gives a list of the dimensions of expr down to level n.


Notes

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 hyper-rectangular region.)
• Each successive level in expr sampled by Dimensions must have the same head.
• Example: Dimensions[  a,b,c , d,e,f  ]LongRightArrow .
• For SparseArray objects, Dimensions yields the dimensions of the corresponding ordinary lists.
• See also: ArrayDepth, VectorQ, MatrixQ.
• New in Version 1; modified in 5.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: