MATH(1) — Silicon Graphics 27 July 1989
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 computations, 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 that sets up file search 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 UNIX PATH environment variable.
The output files and devices used by Mathematica are determined by assignments for the Mathematica variables $Output, $Messages and $Urgent.
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/* Mathematica files used at startup
Source/* Mathlink and other miscellaneous files
Install/* Files to install Mathematica on your system
Display/* Graphics device and PostScript support
Packages/* Mathematica packages
SEE ALSO
mathremote(1), psfix(1), math(3)
S. Wolfram, Mathematica: A System for Doing Mathematics by Computer, Addison-Wesley, 1988
Mathematica User’s Guide
Mathematica Installation Manual
Version athematica — September 12, 1990