version 1.1, 2001/10/02 11:16:56 |
version 1.2, 2002/09/11 07:26:41 |
Line 13 gp \- PARI calculator |
|
Line 13 gp \- PARI calculator |
|
.IR primelimit ] |
.IR primelimit ] |
|
|
.SH DESCRIPTION |
.SH DESCRIPTION |
Invokes the PARI-GP calculator. GP is an advanced programmable calculator, |
Invokes the PARI-GP calculator. gp is an advanced programmable calculator, |
which computes symbolically as long as possible, numerically where needed, |
which computes symbolically as long as possible, numerically where needed, |
and contains a wealth of number-theoretic functions (elliptic curves, class |
and contains a wealth of number-theoretic functions (elliptic curves, class |
field theory...). Its basic data types are |
field theory...). It can be programmed with the GP scripting language. Its |
|
basic data types are |
.TP |
.TP |
numbers |
numbers |
integers, real numbers, exact rational numbers, algebraic numbers, |
integers, real numbers, exact rational numbers, algebraic numbers, |
Line 50 at the user's convenience. In that case the argument i |
|
Line 51 at the user's convenience. In that case the argument i |
|
or 1000000 respectively. The following command line options are available: |
or 1000000 respectively. The following command line options are available: |
.TP |
.TP |
.B \-emacs |
.B \-emacs |
GP can be run in an |
gp can be run in an |
.I Emacs |
.I Emacs |
shell (see GP User's manual for details). This flag is then required for |
shell (see GP User's manual for details). This flag is then required for |
smooth interaction with the relevant |
smooth interaction with the relevant |
Line 69 Fast start (or factory settings). Do not read |
|
Line 70 Fast start (or factory settings). Do not read |
|
Quiet mode. Don't print headers or history numbers, don't say goodbye. |
Quiet mode. Don't print headers or history numbers, don't say goodbye. |
.TP |
.TP |
.BI \-p " primelimit" |
.BI \-p " primelimit" |
Upon startup, GP computes a table of small primes used in most |
Upon startup, gp computes a table of small primes used in most |
number-theoretic applications. If |
number-theoretic applications. If |
.I primelimit |
.I primelimit |
is set here, include primes up to that bound instead of the default. |
is set here, include primes up to that bound instead of the default. |
Line 78 small values will cause some number-theoretic function |
|
Line 79 small values will cause some number-theoretic function |
|
message "not enough precomputed primes". |
message "not enough precomputed primes". |
.TP |
.TP |
.BI \-s " stacksize" |
.BI \-s " stacksize" |
Size of GP internal stack allocated on startup. When GP runs out of space, it |
Size of gp internal stack allocated on startup. When gp runs out of space, it |
interrupts the current computation and raises a |
interrupts the current computation and raises a |
.BI "stack overflow" |
.BI "stack overflow" |
exception. If this occurs frequently (especially if you make heavy use |
exception. If this occurs frequently (especially if you make heavy use |
of linear algebra), start with a bigger stack. The stack size can also be |
of linear algebra), start with a bigger stack. The stack size can also be |
increased from within GP, using |
increased from within gp, using |
.B default(parisize, ...) |
.B default(parisize, ...) |
; it may be convenient to set |
; it may be convenient to set |
.B stacksize |
.B stacksize |
Line 96 computations should need less than 20MB. |
|
Line 97 computations should need less than 20MB. |
|
|
|
.TP |
.TP |
.B \-test |
.B \-test |
run GP in test mode: suppress printing of history numbers and wrap long |
run gp in test mode: suppress printing of history numbers and wrap long |
output lines (to get readable diff output). For benches only. |
output lines (to get readable diff output). For benches only. |
.SH USE |
.SH USE |
.TP |
.TP |
Line 177 shell. Must be loaded from your |
|
Line 178 shell. Must be loaded from your |
|
file. |
file. |
.TP |
.TP |
.I *.gp |
.I *.gp |
gp programs |
GP programs |
|
|
.SH ENVIRONMENT |
.SH ENVIRONMENT |
.TP |
.TP |
Line 190 place to look for the user's gprc file (before $HOME/. |
|
Line 191 place to look for the user's gprc file (before $HOME/. |
|
directory containing the Galois resolvents files (needed by the |
directory containing the Galois resolvents files (needed by the |
.B polgalois |
.B polgalois |
function, for degrees 8 to 11). |
function, for degrees 8 to 11). |
|
|
|
.TP |
|
.I $GPHELP |
|
name of the external help program invoked by ?? and ??? shortcuts. |
|
|
.SH PRIMARY FTP SITE |
.SH PRIMARY FTP SITE |
The most recent distributions can be found at |
The most recent distributions can be found at |