Qurak

View lists as matrices

Example 3 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
m = HilbertMatrix[7]
Output
{{1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7}, {1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8}, {1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9}, {1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10}, {1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11}, {1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12}, {1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13}}
Step 2
MatrixForm[m]
Output
MatrixForm[{{1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7}, {1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8}, {1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9}, {1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10}, {1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11}, {1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12}, {1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13}}]
Step 3
TraditionalForm[m]
Output
TraditionalForm[{{1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7}, {1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8}, {1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9}, {1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10}, {1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11}, {1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12}, {1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13}}]

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client