Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team