EnglishFrenchSpanish

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
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad