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