Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: compile (<f_1>, ..., <f_n>)
![Compile Example define_variable(n,0.3,float);
define_variable(h,0.175,float);
f(x,e):=(mode_declare([x,e],float),n*exp(x)/(e+x^(2*h)*exp(h*x)));
compile(f);
array([x,e],float,35);
init_float_array(x,1.0e-3,6.85);
e[0]:5.0;
runge_kutta(f,x,e);
graph2(x,e);](http://maxima-online.org//plot.html?g=i-1169018735.png&t=img&db=r1178181357)
Function: compile (functions)
Function: compile (all) Translates Maxima functions <f_1>, ..., <f_n> into Lisp, evaluates the Lisp translations, and calls the Lisp function COMPILE on each translated function. compile returns a list of the names of the compiled functions.
compile (all) or compile (functions) compiles all user-defined functions.
compile quotes its arguments; the quote-quote operator defeats quotation.
There are also some inexact matches for compile. Try ?? compile to see them.
(%o1) true (%i2)