File: introduction.rst

package info (click to toggle)
flint 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,996 kB
  • sloc: ansic: 915,350; asm: 14,605; python: 5,340; sh: 4,512; lisp: 2,621; makefile: 787; cpp: 341
file content (74 lines) | stat: -rw-r--r-- 3,190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.. _introduction:

**Introduction**
===============================================================================

What is FLINT?
-------------------------------------------------------------------------------

FLINT is a C library of functions for doing basic arithmetic in support of
computational number theory and other areas of computer algebra. It is highly
optimised and can be compiled on numerous platforms.

FLINT provides highly optimised implementations of basic rings, such as the
integers, rationals, `p`-adics, finite fields, etc., and linear algebra and
univariate and multivariate polynomials over most of these rings.

FLINT also has some multithreading capabilities. To this end, the library is
threadsafe, with few exceptions noted in the appropriate place, and a number of
key functions have multithreaded implementations.

Maintainers and Authors
-------------------------------------------------------------------------------

FLINT is currently maintained by Fredrik Johansson of INRIA Bordeaux.

FLINT was originally designed by William Hart and David Harvey. Since then
FLINT was rewritten as FLINT 2 by William Hart, Fredrik Johansson and
Sebastian Pancratz. Many other substantial contributions have been made
by other authors, e.g. Tom Bachmann, Mike Hansen, Daniel Schultz and Andy
Novocin. There have been a great number of other contributors, listed on
the main FLINT website and the contributors section of this documentation.

Requirements
-------------------------------------------------------------------------------

FLINT should compile on any machine with GCC and a standard
GNU toolchain, though GCC 4.8 and following are recommended.

FLINT is specially optimised for x86 (32 and 64 bit) machines. There is also
limited optimisation for ARM machines.

As of version 3.0, FLINT requires GMP 6.2.1 or later, and MPFR 4.1.0 or later.
Note that earlier, MPIR, a fork of GMP, was supported. However, as of FLINT 3.0,
this support has been dropped.

It is also required that the platform provide a ``uint64_t`` type if a
native 64 bit type is not available. Full C99 compliance is not required.

Structure of FLINT
-----------------------------------------------------------------------------

FLINT is supplied as a set of modules, ``fmpz``, ``fmpz_poly``, etc.,
each of which can be linked to a C program making use of their functionality.

All of the functions in FLINT have a corresponding test function provided
in an appropriately named test file.  For example, the function
``fmpz_poly_add`` located in ``src/fmpz_poly/add.c`` has test code in the
file ``src/fmpz_poly/test/t-add.c``.

Some modules have a ``profile`` directory in which profile programs can be
found.

Documentation exists in the ``doc/source`` directory in a series of ``.rst``
files.

License
-----------------------------------------------------------------------------

FLINT is distributed under the GNU Lesser General Public License (LGPL)
version 3 or later. There is a copy of the license included in the repository
and distribution tarballs.

Note, however, that between FLINT version 2.6 and 3.1, it was distributed with
LGPL version 2, and before that GPL version 2.