code for LLL algorithm in pari/gp

1k Views Asked by At

I know that in PARI/GP the function qflll performs LLL algorithm on a set of bases. However, is it possible for me to look at the code for qflll in the PARI/GP library? Or does anyone know how does the LLL algorithm work in the PARI/GP library?

1

There are 1 best solutions below

0
On BEST ANSWER

The PARI/GP source can be downloaded using git

git clone http://pari.math.u-bordeaux.fr/git/pari.git

or you can examine the source online. Here's a link to the LLL section:

http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=blob;f=src/basemath/lll.c#l504