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: 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 Example load(fractals);
n: 10000;
plot2d([discrete, snowmap([0,%i,1+%i,1,0],4)]);](http://maxima-online.org//plot.html?g=p1339671132.png&t=img&db=r-1017121879)
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 also loadfile, batch, batchload, and demo. loadfile processes Lisp files; batch, batchload, and demo process Maxima files.
See file_search for more detail about the file search mechanism.
load evaluates its argument.
There are also some inexact matches for load. Try ?? load to see them.
(%o1) true (%i2)