is an option for TableForm and MatrixForm that specifies the maximum number of levels to be printed in tabular or matrix format.


TableDepth
is an option for TableForm and MatrixForm that specifies the maximum number of levels to be printed in tabular or matrix format.
Details

- TableForm[list,TableDepth->n] prints elements in list below level n as ordinary lists, rather than arranging them in tabular form.
- With the default setting TableDepth->Infinity, as many levels as possible are printed in tabular form. In TableForm, the levels printed need not consist of elements with the same list structure. In MatrixForm, they must.
See Also
Tech Notes
Related Workflows
- Make a Grid of Output Data
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), TableDepth, Wolfram Language function, https://reference.wolfram.com/language/ref/TableDepth.html.
CMS
Wolfram Language. 1991. "TableDepth." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableDepth.html.
APA
Wolfram Language. (1991). TableDepth. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableDepth.html
BibTeX
@misc{reference.wolfram_2025_tabledepth, author="Wolfram Research", title="{TableDepth}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TableDepth.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_tabledepth, organization={Wolfram Research}, title={TableDepth}, year={1991}, url={https://reference.wolfram.com/language/ref/TableDepth.html}, note=[Accessed: 15-August-2025]}