gp2c

PARI/GP GP to C compiler

Install

All systems
curl cmd.cat/gp2c.sh
Debian Debian
apt-get install pari-gp2c
Ubuntu
apt-get install pari-gp2c
image/svg+xml Kali Linux
apt-get install pari-gp2c
Windows (WSL2)
sudo apt-get update sudo apt-get install pari-gp2c
Raspbian
apt-get install pari-gp2c

pari-gp2c

PARI/GP GP to C compiler

PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves...), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers, etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations. Originally developed by Henri Cohen and his co-workers (University Bordeaux I, France), PARI is now under the GPL and maintained by Karim Belabas with the help of many volunteer contributors. This package contains the G2PC compiler that converts GP scripts to C libpari modules and the helper scripts gp2c-run and gp2c-dbg.