EnglishFrenchSpanish

Ad


OnWorks favicon

gp-2.7 - Online in the Cloud

Run gp-2.7 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gp-2.7 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gp - The PARI calculator

SYNOPSIS


gp [-s stacksize] [-p primelimit] [--emacs] [-f|--fast] [-q|--quiet] [-D|--default
key=val] [--help] [--test] [--texmacs] [--version] [--version-short] [ file1 file2 ...]

DESCRIPTION


Invokes the PARI-GP calculator gp; gp is an advanced programmable calculator, specializing
in number theory, which computes symbolically as long as possible, numerically where
needed, and contains a wealth of arithmetic functions: factorizations, elliptic curves,
Galois theory, class field theory... Commands, written in the GP scripting language, are
input interactively or loaded from files.

If present at the end of the command line, files 'file1', 'file2', ... are loaded on
startup; they must be written in the GP language.

OPTIONS


Command line options are available in both short form (-f) and POSIX-like (--fast).
Numeric arguments can be followed by a modifier k , M or G at the user's convenience; in
that case the argument is multiplied by 10^3, 10^6, or 10^9 respectively.

-f, --fast
Fast start (or factory settings). Do not read .gprc (see below) upon startup.

-p limit
[DEPRECATED] Upon startup, gp computes a table of small primes used in number-
theoretic applications. If primelimit is set, the table include primes up to that
bound instead of the default (= 500000). It is now mostly useless to change this
value.

-q, --quiet
Quiet mode. Do not print headers or history numbers and do not say goodbye.

-D, --default key=val
performs default(key, val); on startup, overriding values from the gprc preferences
file. 'val' must be a constant value and is not allowed to involve any computation
(e.g. 1+1 is forbidden). Any number of such default-setting statements may appear
on the command line.

-s limit
Size of gp internal stack allocated on startup. When gp runs out of space, it
interrupts the current computation and raises a stack overflow exception. If this
occurs frequently, start with a bigger stack. The stack size can also be increased
from within gp, using default(parisize,limit); it may be convenient to set
stacksize from your .gprc. Note that computations with a smaller stack may be more
efficient due to better data locality. Most computations should need less than
20MB.

--emacs
gp can be run in an Emacs shell (see GP User's manual for details). This flag is
then required for smooth interaction with the PariEmacs package (pari.el). It is
set automatically by the pari.el package, and will produce nice display oddities if
you set it outside of an Emacs session.

--help print a summary of available command-line options.

--test run gp in test mode: suppress printing of history numbers and wrap long output
lines (to get readable diff output). For benches only.

--texmacs
gp can be run from a TeXmacs frontend. This flag is set by TeXmacs, to enable
special purpose communication channels. Do not set it yourself.

--version
output version info (banner) then exit.

--version-short
output version number then exit.

USE


? to get online help.

?? to get extended online help (more precisely, to call the external help program,
gphelp by default)

quit (or \q), or EOF (Ctrl-D) to quit gp.

The following works only when gp was linked with GNU readline library:

arrow keys
for editing and viewing the input history.

TAB
for automatic completion

MANUALS


The following material is included in the standard distribution (originally in TeX
format):

The User's Guide to PARI/GP
(users.dvi)

The User's Guide to the PARI library
(library.dvi)

The Developer's Guide to the PARI library
(develop.dvi)

PARI/GP, a tutorial
(tutorial.dvi)

PARI/GP reference card
(refcard.ps): 4 pages, based on an earlier version by Joseph H. Silverman.

Use gp-2.7 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad