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

TableDirections

TableDirections
is an option for TableForm and MatrixForm which specifies whether successive dimensions should be arranged as rows or columns.
  • TableDirections->Column specifies that successive dimensions should be arranged alternately as columns and rows, with the first dimension arranged as columns.
By default the outermost dimension is a column:
Format the first dimension as a row instead:
By default the outermost dimension is a column:
In[1]:=
Click for copyable input
Out[1]//TableForm=
Format the first dimension as a row instead:
In[2]:=
Click for copyable input
Out[2]//TableForm=
Use with MatrixForm:
Format only as rows:
Only as columns:
A default higher-dimensional tensor:
Format the first two dimensions as columns and the third as rows:
New in 2