This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Format Types /

MatrixForm

FilledSmallSquare MatrixForm[list] prints with the elements of list arranged in a regular array.

FilledSmallSquare In StandardForm the array is shown enclosed in parentheses.

FilledSmallSquare 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.

FilledSmallSquare Elements in each column are by default centered.

FilledSmallSquare MatrixForm prints SparseArray objects like the corresponding ordinary lists.

FilledSmallSquare MatrixForm takes the same set of options as TableForm.

FilledSmallSquare MatrixForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare See Section 1.8.3 and Section 2.9.8.

FilledSmallSquare See also: TableForm, ColumnForm, GridBox, GraphicsArray.

FilledSmallSquare New in Version 1; modified in 5.0.

Further Examples