sage

Langue: en

Version: 315305 (ubuntu - 07/07/09)

Autres sections - même nom

Section: 1 (Commandes utilisateur)

NAME

sage - Software for Algebra and Geometry Experimentation

SYNOPSYS

sage [options] - Run the Sage command-line interface.

sage -notebook [options] - Run the Sage web interface server.

sage file.[sage|py|spyx] [options] - Run given file as sage code.

sage -c string - Run given string as sage code.

DESCRIPTION

Invokes the sage interpreter. Sage is a mathematical software program with support for a wide range of mathematics, including algebra, calculus, elementary to very advanced number theory, cryptography, numerical computation, commutative algebra, group theory, combinatorics, graph theory, and exact linear algebra.

Sage integrates several dozen mathematical software packages, making it possible to combine the best algorithms from several different packages together in a single Sage program.

Running sage with no arguments starts the interactive read-eval-print loop for Sage. Sage also has a web-based notebook interface, and can be run non-interactively with either a file or its command-line arguments as the source of commands.

OPTIONS

This man page contains a short summary of the most commonly used options supported by Sage. Additional options are displayed by sage -advanced.
-h, --help
Print a help message.
-v, -version
Print the SAGE version.
-q
Don't print the Sage banner.
-c string
Invoke sage with string as the input program.
-notebook [options]
Start the SAGE notebook (options are the same as to the notebook command in SAGE).
-t <files|dir> [options]
Test examples in .py, .pyx, .sage or .tex files (additional options to sage -t such as --verbose and --gdb are documented in sage -advanced).
-min
Do not populate global namespace (must be first option).
-advanced
List all options supported by sage.

FILES

~/.sage
Contains various caches and configuration data for sage.
~/.sage/ipython
Ipython configuration file for Sage. This can be used to change the look of the Sage shell.
~/.sage/matplotlibrc
matplotlib configuration file for Sage.
~/.sage/gap
Cached GAP workspace for Sage.
~/.sage/sage_notebook
Store for Sage notebook worksheets.

ENVIRONMENT

sage respects the following environment variables.
SAGE_TESTDIR
Directory used for logging of test-related files. Defaults to ~/.sage/tests.

SEE ALSO

The full documentation for Sage, including an extensive tutorial, reference manual, programming guide, and constructions cookbook is installed at <file:///usr/share/doc/sagemath/doc-main/html/index.html>.
ipython(1), python(1), cython(1)