This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# MatrixForm

 MatrixForm[list]prints with the elements of list arranged in a regular array.
• In StandardForm the array is shown enclosed in parentheses.
• MatrixForm prints a single-level list in a column. It prints a two-level list in standard matrix form. More deeply nested lists are by default printed with successive dimensions alternating between rows and columns.
• Elements in each column are by default centered.
• MatrixForm acts as a "wrapper", which affects printing, but not evaluation.
Show the matrix form of a matrix:
Show the matrix form of a SparseArray:
Show vector, matrix, and general arrays in matrix form:
Show the matrix form of a matrix:
 Out[1]//MatrixForm=

Show the matrix form of a SparseArray:
 Out[1]//MatrixForm=

Show vector, matrix, and general arrays in matrix form:
 Out[1]//MatrixForm=
 Out[2]//MatrixForm=
 Out[3]//MatrixForm=
 Out[4]//MatrixForm=
 Scope   (3)
Matrices of numbers and formulas:
A matrix of lists:
Use options to control the layout directions:
Format a SparseArray in matrix form:
 Options   (6)
Specify the alignment of columns:
Set alignments for successive dimensions:
By default, all dimensions are formatted:
Only use matrix formatting for the outermost dimension:
By default, the outermost dimension is a column:
Format the first dimension as a row instead:
Specify headings for rows and columns:
The default automatic spacing:
Explicitly specify the spacing between rows and between columns:
 Applications   (4)
Display special matrices with matrix formatting:
Matrices from a matrix decomposition:
Formula for a matrix multiplication:
Display a block matrix as a matrix of matrices:
The array flattened to a matrix:
MatrixForm formats arrays using standard matrix formatting:
TableForm formats arrays in a tabular form:
Grid formats two-dimensional arrays as a grid:
Use MatrixPlot to visualize the structure of large matrices:
Use ArrayPlot to visualize the structure of large discrete matrices:
Use Style to affect the display of MatrixForm:
Use any number form such as ScientificForm or BaseForm to affect the display of numbers: