Maxima Tricks - mkraska/meclib GitHub Wiki

Functions for lists

Apply a function to a list:

map( f, [x1, x2...] );

Tables From Column Lists

STACK has the table( [title1, title2], [c11, c12]...]) for easy output as tables. Frequently we have lists, which provide the data for the columns. Here is a command for creating a table from such columns:

{@apply(table,append([x_i,f_i](/mkraska/meclib/wiki/x_i,f_i),args(transpose(matrix(x,f)))))@}