The Maxima on-line user's manual

Algebra Calculator

Search:

Function: load (<filename>) Evaluates expressions in <filename>, thus bringing variables, functions, and other objects into Maxima. The binding of any existing object is clobbered by the binding recovered from <filename>. To find the file, load calls file_search with file_search_maxima and file_search_lisp as the search directories. If load succeeds, it returns the name of the file. Otherwise load prints an error message.

load works equally well for Lisp code and Maxima code. Files created by save, translate_file, and compile_file, which create Lisp code, and stringout, which creates Maxima code, can all be processed by load. load calls loadfile to load Lisp files and batchload to load Maxima files.

load does not recognize :lisp constructs in Maxima files, and while processing <filename>, the global variables _, __, %, and %th have whatever bindings they had when load was called.

See file_search for more detail about the file search mechanism.

There are also some inexact matches for load. Try ?? load to see them.

(%o1)                                true
(%i2)

Related Examples

tmp:[x=sqrt(10)/5,x&g...

fourier_elim(tmp,[x]);

Calculate

f1(t) := t+t^2;

plot2d(t+t^2,[t,-2,2]);

Calculate

K:(1/m)*matrix([-2*k,...

[val,vec]:uniteigenve...

Calculate

G1: create_graph([1,2...

draw_graph(G1,fixed_v...

Calculate

obj: 2.1*x1+x2;

cnst: [3*x1+4*x2+x3=1...

Calculate

S:create_graph ([0,1,...

draw_graph(S,show_id=...

Calculate

l: poly_reduced_grobn...

Calculate

f(x) := 1/((x - 1)^2...

rombergtol : 1e-6;

Calculate

cframe_flag:true;

csetup;

Calculate