TableDirections
is an option for TableForm and MatrixForm which specifies whether successive dimensions should be arranged as rows or columns.
Details
- TableDirections->Column specifies that successive dimensions should be arranged alternately as columns and rows, with the first dimension arranged as columns.
- TableDirections->Row takes the first dimension to be arranged as rows.
- TableDirections->{dir1,dir2,…} specifies explicitly whether each dimension should be arranged with Column or Row.
Examples
open allclose allBasic Examples (1)
Scope (3)
Use with MatrixForm:
A default higher-dimensional tensor:
Format the first two dimensions as columns and the third as rows:
Wolfram Research (1991), TableDirections, Wolfram Language function, https://reference.wolfram.com/language/ref/TableDirections.html.
Text
Wolfram Research (1991), TableDirections, Wolfram Language function, https://reference.wolfram.com/language/ref/TableDirections.html.
CMS
Wolfram Language. 1991. "TableDirections." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableDirections.html.
APA
Wolfram Language. (1991). TableDirections. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableDirections.html