For example, the following list contains a scalar, a vector, an array, a graphics object, and two variables. Element 4 is a graphics object, so it can be rendered using Show . Element 3 is a two-dimensional array. These formatting commands also work for higher-dimensional arrays. A number of commands are available to query properties of lists.
Some examples are below.
More information about the functions and tensors in Mathematica is in Section 3.7.11 of The Mathematica Book . The following command selects the first row of the array mat1 . Subarrays can be extracted using ranges as selection criteria. For larger matrices, the Range command simplifies setting up the selection. The command above is equivalent to the following.