Skip to content

flintlib/flint

Repository files navigation

Dev CI codecov

FLINT (Fast Library for Number Theory)

Website: https://flintlib.org

Mailing list: https://groups.google.com/g/flint-devel

Overview

FLINT is a C library in support of computations in number theory. It's also a research project into algorithms in number theory. FLINT consists mainly of fast scalar and polynomial arithmetic, factorization and linear algebra over many basic rings (integers, rationals, reals, finite fields, number fields, p-adics). It includes some higher-level functionality for algebraic and analytic number theory.

FLINT 2, released in 2011 was a complete rewrite of FLINT 1.x from scratch. FLINT 3, released in 2023, incorporates the Arb, Antic, Calcium and Generic-Rings libraries, formerly developed separately.

Documentation

For FLINT's online documentation, see https://flintlib.org/doc/.

Building from source

This example assumes that GMP, MPFR and the GNU build system are already installed. See FLINT's documentation for further instructions on how to build FLINT.

git clone https://github.com/flintlib/flint.git && cd flint
./bootstrap.sh
./configure                        # ./configure --help for more options
make
make check                         # optional
make install                       # optional
make examples                      # optional
cd doc && make html && cd ..       # optional: documentation

Authors

FLINT was started in 2007 by David Harvey and William Hart. Maintenance was later taken over solely by William Hart who remained in charge of the project until 2022. A large number of authors have contributed to FLINT over the years; for a complete list, see https://flintlib.org/authors.html or the AUTHORS file.

The current maintainers are:

License

FLINT is distributed under LGPL (GNU Lesser General Public License) version 3 or later. See the COPYING.LESSER and COPYING files.