MATH(1) — UNIX Programmer’s Manual
NAME
math − Mathematica mathematics system
SYNOPSIS
math [ −noprompt ] [ −remote ] [ −run command ]
DESCRIPTION
The math command runs Mathematica. Mathematica is an interactive system for doing mathematical computation. It handles numerical, symbolic and graphical calculations, and incorporates a high-level programming language.
Mathematica reads lines of input, waiting until a syntactically complete expression has been entered, then evaluates the expression, and prints the result.
Mathematica produces graphics in PostScript form. The Mathematica variable $Display specifies the file (or process, if it begins with an exclamation mark) to which PostScript graphics should be written. Typically, the PostScript is sent through a pipe to a PostScript interpreter.
The treatment of graphics can be specified in the Mathematica initialization file init.m. Environment variables are often used to determine the device in use.
Unless the Mathematica variable $IgnoreEOF is set to True, Mathematica exits when it receives an end-of-file.
The math command is actually a shell script, which executes the binary file mathexe. The shell script calls mathexe with a -run option which sets up file searching paths. On initialization, Mathematica reads the file init.m, if it exists. On termination, Mathematica reads end.m. The math shell script temporarily modifies your PATH environment variable to include the location of the Mathematica Utilities and Packages.
The output files and devices used by Mathematica are determined by assignments for the Mathematica variables $Output, $Messages and $Urgent.
The math command provides a terminal-based interface to the Mathematica system. On the NeXT computer, the window-based application is in /NextApps/Mathematica.app.
OPTIONS
-noprompt
Produce no input or output prompts.
-remote
Use MathTalk packet-based communication protocol (see mathremote(1)).
-run command
Run a Mathematica command during initialization.
FILES
Note: The locations of Mathematica files are determined at the time of installation, and need not always be the same.
mathexe Mathematica binary
init.m optional initialization file
end.m optional termination file
math.install installation script
Utilities/∗ ancillary programs for Mathematica
Packages/∗ Mathematica packages
SEE ALSO
S. Wolfram, Mathematica − A System for Doing Mathematics by Computer, Addison-Wesley, 1988
Mathematica User’s Guide
Mathematica Installation Manual
7th Edition — 30 September 1988