-
Notifications
You must be signed in to change notification settings - Fork 3
Maxima Tricks
mkraska edited this page Aug 12, 2024
·
2 revisions
Apply a function to a list:
map( f, [x1, x2...] );
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]],args(transpose(matrix(x,f)))))@}

In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard