OpenAxiom Documentation
OpenAxiom is a descendent of the AXIOM computer algebra system as described by Richard Jenks and Robert Sutor in AXIOM: The Scientific Computation System. That book is the base reference document for OpenAxiom.
Interactive Session
Most uses of OpenAxiom is done through an interactive session.
Just start it with the command open-axiom
at the
shell prompt.
Interpretation in batch mode
The interpreter can be invoked in batch mode in two ways
- on command line as
open-axiom --script myfile.input
wheremyfile.input
contains the script to be executed. This method works on all platforms supported by OpenAxiom. - or from a
.input
script where the very first line reads#!/usr/bin/open-axiom --script
just like for most scripting languages such as Python, Perl, or Ruby. If your system does not support this way of invoking scripts then you would have to resort to the first method.
The OpenAxiom compiler
OpenAxiom comes with a compiler that can be invoked either in an interactive session, or in batch mode. In batch mode, the compiler is invoked as
open-axiom --compiler myfile.spadwhere
myfile.spad
contains library codes.