Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Compile

Function: compile (<f_1>, ..., <f_n>)

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);

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) 

Related Examples

compile-declare-mode_declare

mode_declare(myint,in...

myint:1;

f(x):=myint;

Calculate

compile

load=(sym/compile);

Calculate

compile-define_variable

define_variable(myint...

myint:1;

f(x):=myint;

Calculate

compile-diff-exp-ratsimp-subst

? compile;

dynamalloc:[TRUE];

e(t1,t2):=exp(1/2*(t1...

Calculate

compile-declare-mode_declare

mode_declare(myint,in...

myint:1;

f(x):=myint;

Calculate

compile

load=(sym/compile);

Calculate

compile-define_variable

define_variable(myint...

myint:1;

f(x):=myint;

Calculate

compile-diff-exp-ratsimp-subst

? compile;

dynamalloc:[TRUE];

e(t1,t2):=exp(1/2*(t1...

Calculate