Dimensions• Dimensions[expr] gives a list of the dimensions of expr. • expr must be a full array, with all the pieces of expr at a particular level having the same length. • Example: Dimensions[{{a, b, c}, {d, e, f}}] . • See also: Length.
Examples Using InstantCalculatorsHere is the InstantCalculator for the Dimensions function. Enter the parameters for your calculation and click Calculate to see the result.
Out[1]= |  |
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the Dimensions Function Controller. This gives the dimensions of a matrix in {rows, columns}.
Out[2]= |  |
Out[3]= |  |
|