Motivation
Maxima has a function to display a table.
table_form (makelist (100*(1.05)^n, n, 0, 4));
But what if I want a two column table?
For instance, it would be nice to show n
from the above equation.
table_form (makelist (n,n,0,4), makelist (100*(1.05)^n,n,0,4));
assoc: every list element must be an expression with two arguments; found: [[100.0,105.0,110.25,115.7625,121.550625]]
-- an error. To debug this try: debugmode(true);
hmm.. what about:
table_form (sconcat (makelist (n,n,0,4), makelist (100*(1.05)^n,n,0,4)));
table_form: the argument should not be an atom.
-- an error. To debug this try: debugmode(true);
Nope. Time to read the documentation.
? table_form;
No exact match found for topic `table_form'.
Try `?? table_form' (inexact match) instead.
false
?? table_form;
false
Ok, maybe google can tell me: site: https://maxima.sourceforge.io/docs/manual "table_form"
...nothing.
It seems I am not the only one: Options for wxmaxima table command
Question
Where can I find information about table_form
and can that function print a multiple column table?
As far as I can tell, table_form
is not on the Maxima list of functions: https://maxima.sourceforge.io/docs/manual/maxima_377.html#Function-and-Variable-Index