This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Input and Output / Format Types  /
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 takes the same set of options as TableForm.
  • MatrixForm acts as a "wrapper", which affects printing, but not evaluation.
  • See the Mathematica book: Section 1.8.3Section 2.8.8.
  • See also: TableForm, ColumnForm, GridBox, GraphicsArray.

    Further Examples

    This displays the list in traditional matrix notation.

    In[1]:=

    Out[1]//MatrixForm=