flint/3.0.1

FLINT (Fast Library for Number Theory)
Recipe info
LGPL-2.1-or-later
2023-12-07

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
flint/3.0.1

Using flint

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
flint/3.0.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("flint/3.0.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): libflint
  • CMake target name(s): libflint::libflint
  • pkg-config file name(s): flint.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(libflint REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libflint::libflint)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the flint homepage listed above:

#include "CPimport.h"
#include "NTL-interface.h"
#include "acb.h"
#include "acb_calc.h"
#include "acb_dft.h"
#include "acb_dirichlet.h"
#include "acb_elliptic.h"
#include "acb_hypgeom.h"
#include "acb_mat.h"
#include "acb_modular.h"
#include "acb_poly.h"
#include "acb_types.h"
#include "acf.h"
#include "acf_types.h"
#include "aprcl.h"
#include "arb.h"
#include "arb_calc.h"
#include "arb_fmpz_poly.h"
#include "arb_fpwrap.h"
#include "arb_hypgeom.h"
#include "arb_mat.h"
#include "arb_poly.h"
#include "arb_types.h"
#include "arf.h"
#include "arf_types.h"
#include "arith.h"
#include "bernoulli.h"
#include "bool_mat.h"
#include "ca.h"
#include "ca_ext.h"
#include "ca_field.h"
#include "ca_mat.h"
#include "ca_poly.h"
#include "ca_vec.h"
#include "calcium.h"
#include "crt_helpers.h"
#include "d_mat.h"
#include "d_vec.h"
#include "dirichlet.h"
#include "dlog.h"
#include "double_extras.h"
#include "double_interval.h"
#include "exception.h"
#include "fexpr.h"
#include "fexpr_builtin.h"
#include "fft.h"
#include "fft_small.h"
#include "fft_tuning.h"
#include "flint-config.h"
#include "flint.h"
#include "flint/CPimport.h"
#include "flint/NTL-interface.h"
#include "flint/acb.h"
#include "flint/acb_calc.h"
#include "flint/acb_dft.h"
#include "flint/acb_dirichlet.h"
#include "flint/acb_elliptic.h"
#include "flint/acb_hypgeom.h"
#include "flint/acb_mat.h"
#include "flint/acb_modular.h"
#include "flint/acb_poly.h"
#include "flint/acb_types.h"
#include "flint/acf.h"
#include "flint/acf_types.h"
#include "flint/aprcl.h"
#include "flint/arb.h"
#include "flint/arb_calc.h"
#include "flint/arb_fmpz_poly.h"
#include "flint/arb_fpwrap.h"
#include "flint/arb_hypgeom.h"
#include "flint/arb_mat.h"
#include "flint/arb_poly.h"
#include "flint/arb_types.h"
#include "flint/arf.h"
#include "flint/arf_types.h"
#include "flint/arith.h"
#include "flint/bernoulli.h"
#include "flint/bool_mat.h"
#include "flint/ca.h"
#include "flint/ca_ext.h"
#include "flint/ca_field.h"
#include "flint/ca_mat.h"
#include "flint/ca_poly.h"
#include "flint/ca_vec.h"
#include "flint/calcium.h"
#include "flint/crt_helpers.h"
#include "flint/d_mat.h"
#include "flint/d_vec.h"
#include "flint/dirichlet.h"
#include "flint/dlog.h"
#include "flint/double_extras.h"
#include "flint/double_interval.h"
#include "flint/exception.h"
#include "flint/fexpr.h"
#include "flint/fexpr_builtin.h"
#include "flint/fft.h"
#include "flint/fft_small.h"
#include "flint/fft_tuning.h"
#include "flint/flint-config.h"
#include "flint/flint.h"
#include "flint/fmpq.h"
#include "flint/fmpq_mat.h"
#include "flint/fmpq_mpoly.h"
#include "flint/fmpq_mpoly_factor.h"
#include "flint/fmpq_poly.h"
#include "flint/fmpq_types.h"
#include "flint/fmpq_vec.h"
#include "flint/fmpz.h"
#include "flint/fmpz_extras.h"
#include "flint/fmpz_factor.h"
#include "flint/fmpz_lll.h"
#include "flint/fmpz_mat.h"
#include "flint/fmpz_mod.h"
#include "flint/fmpz_mod_mat.h"
#include "flint/fmpz_mod_mpoly.h"
#include "flint/fmpz_mod_mpoly_factor.h"
#include "flint/fmpz_mod_poly.h"
#include "flint/fmpz_mod_poly_factor.h"
#include "flint/fmpz_mod_types.h"
#include "flint/fmpz_mod_vec.h"
#include "flint/fmpz_mpoly.h"
#include "flint/fmpz_mpoly_factor.h"
#include "flint/fmpz_mpoly_q.h"
#include "flint/fmpz_poly.h"
#include "flint/fmpz_poly_factor.h"
#include "flint/fmpz_poly_mat.h"
#include "flint/fmpz_poly_q.h"
#include "flint/fmpz_types.h"
#include "flint/fmpz_vec.h"
#include "flint/fmpzi.h"
#include "flint/fq.h"
#include "flint/fq_default.h"
#include "flint/fq_default_mat.h"
#include "flint/fq_default_poly.h"
#include "flint/fq_default_poly_factor.h"
#include "flint/fq_embed.h"
#include "flint/fq_embed_templates.h"
#include "flint/fq_mat.h"
#include "flint/fq_mat_templates.h"
#include "flint/fq_nmod.h"
#include "flint/fq_nmod_embed.h"
#include "flint/fq_nmod_mat.h"
#include "flint/fq_nmod_mpoly.h"
#include "flint/fq_nmod_mpoly_factor.h"
#include "flint/fq_nmod_poly.h"
#include "flint/fq_nmod_poly_factor.h"
#include "flint/fq_nmod_types.h"
#include "flint/fq_nmod_vec.h"
#include "flint/fq_poly.h"
#include "flint/fq_poly_factor.h"
#include "flint/fq_poly_factor_templates.h"
#include "flint/fq_poly_templates.h"
#include "flint/fq_templates.h"
#include "flint/fq_types.h"
#include "flint/fq_vec.h"
#include "flint/fq_vec_templates.h"
#include "flint/fq_zech.h"
#include "flint/fq_zech_embed.h"
#include "flint/fq_zech_mat.h"
#include "flint/fq_zech_mpoly.h"
#include "flint/fq_zech_mpoly_factor.h"
#include "flint/fq_zech_poly.h"
#include "flint/fq_zech_poly_factor.h"
#include "flint/fq_zech_types.h"
#include "flint/fq_zech_vec.h"
#include "flint/gettimeofday.h"
#include "flint/gmpcompat.h"
#include "flint/gr.h"
#include "flint/gr_generic.h"
#include "flint/gr_mat.h"
#include "flint/gr_mpoly.h"
#include "flint/gr_poly.h"
#include "flint/gr_special.h"
#include "flint/gr_vec.h"
#include "flint/hashmap.h"
#include "flint/hypgeom.h"
#include "flint/limb_types.h"
#include "flint/long_extras.h"
#include "flint/longlong.h"
#include "flint/machine_vectors.h"
#include "flint/mag.h"
#include "flint/mpf_mat.h"
#include "flint/mpf_vec.h"
#include "flint/mpfr_mat.h"
#include "flint/mpfr_vec.h"
#include "flint/mpn_extras.h"
#include "flint/mpoly.h"
#include "flint/mpoly_types.h"
#include "flint/n_poly.h"
#include "flint/nf.h"
#include "flint/nf_elem.h"
#include "flint/nmod.h"
#include "flint/nmod_mat.h"
#include "flint/nmod_mpoly.h"
#include "flint/nmod_mpoly_factor.h"
#include "flint/nmod_poly.h"
#include "flint/nmod_poly_factor.h"
#include "flint/nmod_poly_mat.h"
#include "flint/nmod_types.h"
#include "flint/nmod_vec.h"
#include "flint/padic.h"
#include "flint/padic_mat.h"
#include "flint/padic_poly.h"
#include "flint/partitions.h"
#include "flint/perm.h"
#include "flint/profiler.h"
#include "flint/qadic.h"
#include "flint/qfb.h"
#include "flint/qqbar.h"
#include "flint/qsieve.h"
#include "flint/templates.h"
#include "flint/test_helpers.h"
#include "flint/thread_pool.h"
#include "flint/thread_support.h"
#include "flint/ulong_extras.h"
#include "fmpq.h"
#include "fmpq_mat.h"
#include "fmpq_mpoly.h"
#include "fmpq_mpoly_factor.h"
#include "fmpq_poly.h"
#include "fmpq_types.h"
#include "fmpq_vec.h"
#include "fmpz.h"
#include "fmpz_extras.h"
#include "fmpz_factor.h"
#include "fmpz_lll.h"
#include "fmpz_mat.h"
#include "fmpz_mod.h"
#include "fmpz_mod_mat.h"
#include "fmpz_mod_mpoly.h"
#include "fmpz_mod_mpoly_factor.h"
#include "fmpz_mod_poly.h"
#include "fmpz_mod_poly_factor.h"
#include "fmpz_mod_types.h"
#include "fmpz_mod_vec.h"
#include "fmpz_mpoly.h"
#include "fmpz_mpoly_factor.h"
#include "fmpz_mpoly_q.h"
#include "fmpz_poly.h"
#include "fmpz_poly_factor.h"
#include "fmpz_poly_mat.h"
#include "fmpz_poly_q.h"
#include "fmpz_types.h"
#include "fmpz_vec.h"
#include "fmpzi.h"
#include "fq.h"
#include "fq_default.h"
#include "fq_default_mat.h"
#include "fq_default_poly.h"
#include "fq_default_poly_factor.h"
#include "fq_embed.h"
#include "fq_embed_templates.h"
#include "fq_mat.h"
#include "fq_mat_templates.h"
#include "fq_nmod.h"
#include "fq_nmod_embed.h"
#include "fq_nmod_mat.h"
#include "fq_nmod_mpoly.h"
#include "fq_nmod_mpoly_factor.h"
#include "fq_nmod_poly.h"
#include "fq_nmod_poly_factor.h"
#include "fq_nmod_types.h"
#include "fq_nmod_vec.h"
#include "fq_poly.h"
#include "fq_poly_factor.h"
#include "fq_poly_factor_templates.h"
#include "fq_poly_templates.h"
#include "fq_templates.h"
#include "fq_types.h"
#include "fq_vec.h"
#include "fq_vec_templates.h"
#include "fq_zech.h"
#include "fq_zech_embed.h"
#include "fq_zech_mat.h"
#include "fq_zech_mpoly.h"
#include "fq_zech_mpoly_factor.h"
#include "fq_zech_poly.h"
#include "fq_zech_poly_factor.h"
#include "fq_zech_types.h"
#include "fq_zech_vec.h"
#include "gettimeofday.h"
#include "gmpcompat.h"
#include "gr.h"
#include "gr_generic.h"
#include "gr_mat.h"
#include "gr_mpoly.h"
#include "gr_poly.h"
#include "gr_special.h"
#include "gr_vec.h"
#include "hashmap.h"
#include "hypgeom.h"
#include "limb_types.h"
#include "long_extras.h"
#include "longlong.h"
#include "machine_vectors.h"
#include "mag.h"
#include "mpf_mat.h"
#include "mpf_vec.h"
#include "mpfr_mat.h"
#include "mpfr_vec.h"
#include "mpn_extras.h"
#include "mpoly.h"
#include "mpoly_types.h"
#include "n_poly.h"
#include "nf.h"
#include "nf_elem.h"
#include "nmod.h"
#include "nmod_mat.h"
#include "nmod_mpoly.h"
#include "nmod_mpoly_factor.h"
#include "nmod_poly.h"
#include "nmod_poly_factor.h"
#include "nmod_poly_mat.h"
#include "nmod_types.h"
#include "nmod_vec.h"
#include "padic.h"
#include "padic_mat.h"
#include "padic_poly.h"
#include "partitions.h"
#include "perm.h"
#include "profiler.h"
#include "qadic.h"
#include "qfb.h"
#include "qqbar.h"
#include "qsieve.h"
#include "templates.h"
#include "test_helpers.h"
#include "thread_pool.h"
#include "thread_support.h"
#include "ulong_extras.h"