-
Notifications
You must be signed in to change notification settings - Fork 104
[Help] Pretty printing 2D output
Parlazo edited this page Apr 16, 2021
·
2 revisions
The function table_form()
displays a 2D list in a form that is more readable than the output from Maxima’s default output routine.
The input is a list of one or more lists.
Like the print()
command, this command displays output even when ended with a dollar sign.
Ending the command with a semicolon results in the same table along with a done
statement.
table_form(
[
[1,2],
[3,4]
]
)$
As the next example shows, the lists that are assembled by the table_form()
command can be created before the command is executed.
Also, because a matrix is a list of lists, matrices can be converted to tables in a similar fashion.