Integers : detailed table of contents¶
- ulong_extras.h – arithmetic and number-theoretic functions for single-word integers
- Simple example
- Random functions
- Basic arithmetic
- Miscellaneous
- Basic arithmetic with precomputed inverses
n_preinvert_limb_prenorm()n_preinvert_limb()n_precompute_inverse()n_mod_precomp()n_mod2_precomp()n_divrem2_preinv()n_divrem_preinv()n_divrem_preinv_unnorm()n_divrem_norm()n_div2_preinv()n_mod2_preinv()n_divrem2_precomp()n_ll_mod_preinv()n_lll_mod_preinv()n_mulmod_precomp()n_mulmod2_preinv()n_mulmod2()n_mulmod_preinv()
- Greatest common divisor
- Jacobi and Kronecker symbols
- Modular arithmetic
- Modular arithmetic with fixed operand
- Divisibility testing
- Prime number generation and counting
- Primality testing
- Chinese remaindering
- Square root and perfect power testing
- Factorisation
n_factor_tn_factor_init()n_factor_evaluate()n_remove()n_remove2_precomp()n_factor_insert()n_factor_trial_range()n_factor_trial()n_factor_power235()n_factor_one_line()n_factor_lehman()n_factor_SQUFOF()n_factor()n_factor_trial_partial()n_factor_partial()n_factor_pp1()n_factor_pp1_wrapper()n_factor_pollard_brent_single()n_factor_pollard_brent()
- Arithmetic functions
- Factorials
- Primitive roots and discrete logarithms
- Elliptic curve method for factorization of
ulong
- fmpz.h – integers
- Simple example
- Types, macros and constants
- Memory management
- Random generation
- Conversion
fmpz_get_si()fmpz_get_ui()fmpz_get_uiui()fmpz_get_nmod()fmpz_get_d()fmpz_set_mpf()fmpz_get_mpf()fmpz_get_mpfr()fmpz_get_d_2exp()fmpz_get_mpz()fmpz_get_mpn()fmpz_get_str()fmpz_set_si()fmpz_set_ui()fmpz_set_d()fmpz_set_d_2exp()fmpz_neg_ui()fmpz_set_uiui()fmpz_neg_uiui()fmpz_set_signed_uiui()fmpz_set_signed_uiuiui()fmpz_set_ui_array()fmpz_set_signed_ui_array()fmpz_get_ui_array()fmpz_get_signed_ui_array()fmpz_set_mpn_large()fmpz_get_signed_uiui()fmpz_set_mpz()fmpz_set_str()fmpz_set_ui_smod()flint_mpz_init_set_readonly()flint_mpz_clear_readonly()fmpz_init_set_readonly()fmpz_clear_readonly()
- Input and output
- Basic properties and manipulation
- Comparison
- Basic arithmetic
fmpz_neg()fmpz_abs()fmpz_add()fmpz_add_ui()fmpz_add_si()fmpz_sub()fmpz_sub_ui()fmpz_sub_si()fmpz_mul()fmpz_mul_ui()fmpz_mul_si()fmpz_mul2_uiui()fmpz_mul_2exp()fmpz_one_2exp()fmpz_addmul()fmpz_addmul_ui()fmpz_addmul_si()fmpz_submul()fmpz_submul_ui()fmpz_submul_si()fmpz_fmma()fmpz_fmms()fmpz_cdiv_qr()fmpz_fdiv_qr()fmpz_tdiv_qr()fmpz_ndiv_qr()fmpz_cdiv_q()fmpz_fdiv_q()fmpz_tdiv_q()fmpz_cdiv_q_si()fmpz_fdiv_q_si()fmpz_tdiv_q_si()fmpz_cdiv_q_ui()fmpz_fdiv_q_ui()fmpz_tdiv_q_ui()fmpz_cdiv_q_2exp()fmpz_fdiv_q_2exp()fmpz_tdiv_q_2exp()fmpz_fdiv_r()fmpz_cdiv_r_2exp()fmpz_fdiv_r_2exp()fmpz_tdiv_r_2exp()fmpz_cdiv_ui()fmpz_fdiv_ui()fmpz_tdiv_ui()fmpz_divexact()fmpz_divexact_si()fmpz_divexact_ui()fmpz_divexact2_uiui()fmpz_divisible()fmpz_divisible_si()fmpz_divides()fmpz_mod()fmpz_mod_ui()fmpz_smod()fmpz_preinvn_init()fmpz_preinvn_clear()fmpz_fdiv_qr_preinvn()fmpz_pow_ui()fmpz_ui_pow_ui()fmpz_pow_fmpz()fmpz_powm_ui()fmpz_powm()fmpz_clog()fmpz_clog_ui()fmpz_flog()fmpz_flog_ui()fmpz_dlog()fmpz_sqrtmod()fmpz_sqrt()fmpz_sqrtrem()fmpz_is_square()fmpz_root()fmpz_is_perfect_power()fmpz_fac_ui()fmpz_fib_ui()fmpz_bin_uiui()_fmpz_rfac_ui()fmpz_rfac_ui()fmpz_rfac_uiui()fmpz_mul_tdiv_q_2exp()fmpz_mul_si_tdiv_q_2exp()
- Greatest common divisor
- Modular arithmetic
- Bit packing and unpacking
- Logic Operations
- Chinese remaindering
- Primality testing
fmpz_is_strong_probabprime()fmpz_is_probabprime_lucas()fmpz_is_probabprime_BPSW()fmpz_is_probabprime()fmpz_is_prime_pseudosquare()fmpz_is_prime_pocklington()_fmpz_nm1_trial_factors()fmpz_is_prime_morrison()_fmpz_np1_trial_factors()fmpz_is_prime()fmpz_lucas_chain()fmpz_lucas_chain_full()fmpz_lucas_chain_double()fmpz_lucas_chain_add()fmpz_lucas_chain_mul()fmpz_lucas_chain_VtoU()fmpz_divisor_in_residue_class_lenstra()fmpz_nextprime()
- Special functions
- fmpz_vec.h – vectors of integers
- Memory management
- Randomisation
- Bit sizes and norms
- Input and output
- Conversions
- Assignment and basic manipulation
- Comparison
- Sorting
- Addition and subtraction
- Scalar multiplication and division
_fmpz_vec_scalar_mul_fmpz()_fmpz_vec_scalar_mul_si()_fmpz_vec_scalar_mul_ui()_fmpz_vec_scalar_mul_2exp()_fmpz_vec_scalar_divexact_fmpz()_fmpz_vec_scalar_divexact_si()_fmpz_vec_scalar_divexact_ui()_fmpz_vec_scalar_fdiv_q_fmpz()_fmpz_vec_scalar_fdiv_q_si()_fmpz_vec_scalar_fdiv_q_ui()_fmpz_vec_scalar_fdiv_q_2exp()_fmpz_vec_scalar_fdiv_r_2exp()_fmpz_vec_scalar_tdiv_q_fmpz()_fmpz_vec_scalar_tdiv_q_si()_fmpz_vec_scalar_tdiv_q_ui()_fmpz_vec_scalar_tdiv_q_2exp()_fmpz_vec_scalar_addmul_si()_fmpz_vec_scalar_addmul_ui()_fmpz_vec_scalar_addmul_fmpz()_fmpz_vec_scalar_addmul_si_2exp()_fmpz_vec_scalar_submul_fmpz()_fmpz_vec_scalar_submul_si()_fmpz_vec_scalar_submul_si_2exp()
- Sums and products
- Reduction mod \(p\)
- Gaussian content
- Dot product
- fmpz_factor.h – integer factorisation
- Types, macros and constants
- Factoring integers
fmpz_factor_init()fmpz_factor_clear()_fmpz_factor_append_ui()_fmpz_factor_append()fmpz_factor()fmpz_factor_smooth()fmpz_factor_si()fmpz_factor_trial_range()fmpz_factor_trial()fmpz_factor_refine()fmpz_factor_expand_iterative()fmpz_factor_pp1()fmpz_factor_pollard_brent_single()fmpz_factor_pollard_brent()
- Input and output
- Elliptic curve (ECM) method
- fmpz_mat.h – matrices over the integers
- Simple example
- Types, macros and constants
- Memory management
- Basic assignment and manipulation
- Window
- Random matrix generation
- Input and output
- Comparison
- Transpose
- Concatenate
- Modular reduction and reconstruction
- Addition and subtraction
- Matrix-scalar arithmetic
fmpz_mat_scalar_mul_si()fmpz_mat_scalar_mul_ui()fmpz_mat_scalar_mul_fmpz()fmpz_mat_scalar_addmul_si()fmpz_mat_scalar_addmul_ui()fmpz_mat_scalar_addmul_fmpz()fmpz_mat_scalar_submul_si()fmpz_mat_scalar_submul_ui()fmpz_mat_scalar_submul_fmpz()fmpz_mat_scalar_addmul_nmod_mat_ui()fmpz_mat_scalar_addmul_nmod_mat_fmpz()fmpz_mat_scalar_divexact_si()fmpz_mat_scalar_divexact_ui()fmpz_mat_scalar_divexact_fmpz()fmpz_mat_scalar_mul_2exp()fmpz_mat_scalar_tdiv_q_2exp()fmpz_mat_scalar_smod()
- Matrix multiplication
fmpz_mat_mul()fmpz_mat_mul_classical()fmpz_mat_mul_waksman()fmpz_mat_mul_strassen()_fmpz_mat_mul_multi_mod()fmpz_mat_mul_multi_mod()fmpz_mat_mul_blas()fmpz_mat_mul_fft()fmpz_mat_sqr()fmpz_mat_sqr_bodrato()fmpz_mat_pow()_fmpz_mat_mul_small()_fmpz_mat_mul_double_word()fmpz_mat_mul_fmpz_vec()fmpz_mat_mul_fmpz_vec_ptr()fmpz_mat_fmpz_vec_mul()fmpz_mat_fmpz_vec_mul_ptr()
- Inverse
- Kronecker product
- Content
- Trace
- Determinant
- Permanent
- Transforms
- Characteristic polynomial
- Minimal polynomial
- Rank
- Column partitioning
- Nonsingular solving
fmpz_mat_solve()fmpz_mat_solve_fflu()fmpz_mat_solve_fflu_precomp()fmpz_mat_solve_cramer()fmpz_mat_solve_bound()fmpz_mat_solve_dixon()_fmpz_mat_solve_dixon_den()fmpz_mat_solve_dixon_den()fmpz_mat_solve_multi_mod_den()fmpz_mat_can_solve_multi_mod_den()fmpz_mat_can_solve_fflu()fmpz_mat_can_solve()
- Row reduction
- Strong echelon form and Howell form
- Nullspace
- Echelon form
- Hermite normal form
- Smith normal form
- Special matrices
- Conversions
- Cholesky Decomposition
- LLL
- Classical LLL
- Modified LLL
- fmpz_lll.h – LLL reduction
- Parameter manipulation
- Random parameter generation
- Heuristic dot product
- The various Babai’s
- Shift
- Varieties of LLL
fmpz_lll_d()fmpz_lll_d_heuristic()fmpz_lll_mpf2()fmpz_lll_mpf()fmpz_lll_wrapper()fmpz_lll_d_with_removal()fmpz_lll_d_heuristic_with_removal()fmpz_lll_mpf2_with_removal()fmpz_lll_mpf_with_removal()fmpz_lll_wrapper_with_removal()fmpz_lll_d_with_removal_knapsack()fmpz_lll_wrapper_with_removal_knapsack()
- ULLL
- LLL-reducedness
- Modified ULLL
- Main LLL functions
- fmpz_poly.h – univariate polynomials over the integers
- Introduction
- Simple example
- Definition of the fmpz_poly_t type
- Types, macros and constants
- Memory management
- Polynomial parameters
- Assignment and basic manipulation
fmpz_poly_set()fmpz_poly_set_si()fmpz_poly_set_ui()fmpz_poly_set_fmpz()_fmpz_poly_set_str()fmpz_poly_set_str()_fmpz_poly_get_str()fmpz_poly_get_str()_fmpz_poly_get_str_pretty()fmpz_poly_get_str_pretty()fmpz_poly_zero()fmpz_poly_one()fmpz_poly_zero_coeffs()fmpz_poly_swap()_fmpz_poly_reverse()fmpz_poly_reverse()fmpz_poly_truncate()fmpz_poly_set_trunc()
- Randomisation
- Getting and setting coefficients
- Comparison
- Addition and subtraction
- Scalar absolute value, multiplication and division
fmpz_poly_scalar_abs()fmpz_poly_scalar_mul_fmpz()fmpz_poly_scalar_mul_si()fmpz_poly_scalar_mul_ui()fmpz_poly_scalar_mul_2exp()fmpz_poly_scalar_addmul_si()fmpz_poly_scalar_addmul_ui()fmpz_poly_scalar_addmul_fmpz()fmpz_poly_scalar_submul_fmpz()fmpz_poly_scalar_fdiv_fmpz()fmpz_poly_scalar_fdiv_si()fmpz_poly_scalar_fdiv_ui()fmpz_poly_scalar_fdiv_2exp()fmpz_poly_scalar_tdiv_fmpz()fmpz_poly_scalar_tdiv_si()fmpz_poly_scalar_tdiv_ui()fmpz_poly_scalar_tdiv_2exp()fmpz_poly_scalar_divexact_fmpz()fmpz_poly_scalar_divexact_si()fmpz_poly_scalar_divexact_ui()fmpz_poly_scalar_mod_fmpz()fmpz_poly_scalar_smod_fmpz()_fmpz_poly_remove_content_2exp()_fmpz_poly_scale_2exp()
- Bit packing
- Multiplication
_fmpz_poly_mul_classical()fmpz_poly_mul_classical()_fmpz_poly_mullow_classical()fmpz_poly_mullow_classical()_fmpz_poly_mulhigh_classical()fmpz_poly_mulhigh_classical()_fmpz_poly_mulmid_classical()fmpz_poly_mulmid_classical()_fmpz_poly_mul_karatsuba()fmpz_poly_mul_karatsuba()_fmpz_poly_mullow_karatsuba_n()fmpz_poly_mullow_karatsuba_n()_fmpz_poly_mulhigh_karatsuba_n()fmpz_poly_mulhigh_karatsuba_n()_fmpz_poly_mul_KS()fmpz_poly_mul_KS()_fmpz_poly_mullow_KS()fmpz_poly_mullow_KS()_fmpz_poly_mul_SS()fmpz_poly_mul_SS()_fmpz_poly_mullow_SS()fmpz_poly_mullow_SS()_fmpz_poly_mul()fmpz_poly_mul()_fmpz_poly_mullow()fmpz_poly_mullow()fmpz_poly_mulhigh_n()_fmpz_poly_mulhigh()
- FFT precached multiplication
- Squaring
_fmpz_poly_sqr_KS()fmpz_poly_sqr_KS()_fmpz_poly_sqr_karatsuba()fmpz_poly_sqr_karatsuba()_fmpz_poly_sqr_classical()fmpz_poly_sqr_classical()_fmpz_poly_sqr()fmpz_poly_sqr()_fmpz_poly_sqrlow_KS()fmpz_poly_sqrlow_KS()_fmpz_poly_sqrlow_karatsuba_n()fmpz_poly_sqrlow_karatsuba_n()_fmpz_poly_sqrlow_classical()fmpz_poly_sqrlow_classical()_fmpz_poly_sqrlow()fmpz_poly_sqrlow()
- Powering
_fmpz_poly_pow_multinomial()fmpz_poly_pow_multinomial()_fmpz_poly_pow_binomial()fmpz_poly_pow_binomial()_fmpz_poly_pow_addchains()fmpz_poly_pow_addchains()_fmpz_poly_pow_binexp()fmpz_poly_pow_binexp()_fmpz_poly_pow_small()_fmpz_poly_pow()fmpz_poly_pow()_fmpz_poly_pow_trunc()fmpz_poly_pow_trunc()
- Shifting
- Bit sizes and norms
- Greatest common divisor
_fmpz_poly_gcd_subresultant()fmpz_poly_gcd_subresultant()_fmpz_poly_gcd_heuristic()fmpz_poly_gcd_heuristic()_fmpz_poly_gcd_modular()fmpz_poly_gcd_modular()_fmpz_poly_gcd()fmpz_poly_gcd()_fmpz_poly_xgcd_modular()fmpz_poly_xgcd_modular()_fmpz_poly_xgcd()fmpz_poly_xgcd()_fmpz_poly_lcm()fmpz_poly_lcm()_fmpz_poly_resultant_modular()fmpz_poly_resultant_modular()fmpz_poly_resultant_modular_div()_fmpz_poly_resultant_euclidean()fmpz_poly_resultant_euclidean()_fmpz_poly_resultant()fmpz_poly_resultant()
- Discriminant
- Gaussian content
- Square-free
- Euclidean division
_fmpz_poly_divrem_basecase()fmpz_poly_divrem_basecase()_fmpz_poly_divrem_divconquer_recursive()_fmpz_poly_divrem_divconquer()fmpz_poly_divrem_divconquer()_fmpz_poly_divrem()fmpz_poly_divrem()_fmpz_poly_div_basecase()fmpz_poly_div_basecase()_fmpz_poly_divremlow_divconquer_recursive()_fmpz_poly_div_divconquer_recursive()_fmpz_poly_div_divconquer()fmpz_poly_div_divconquer()_fmpz_poly_div()fmpz_poly_div()_fmpz_poly_rem_basecase()fmpz_poly_rem_basecase()_fmpz_poly_rem()fmpz_poly_rem()_fmpz_poly_div_root_fmpz()fmpz_poly_div_root_fmpz()_fmpz_poly_divexact()fmpz_poly_divexact()_fmpz_poly_divexact_root_fmpq()fmpz_poly_divexact_root_fmpq()
- Division with precomputed inverse
_fmpz_poly_preinvert()fmpz_poly_preinvert()_fmpz_poly_div_preinv()fmpz_poly_div_preinv()_fmpz_poly_divrem_preinv()fmpz_poly_divrem_preinv()_fmpz_poly_powers_precompute()fmpz_poly_powers_precompute()_fmpz_poly_powers_clear()fmpz_poly_powers_clear()_fmpz_poly_rem_powers_precomp()fmpz_poly_rem_powers_precomp()
- Divisibility testing
- Division mod p
- Power series division
_fmpz_poly_inv_series_basecase()fmpz_poly_inv_series_basecase()_fmpz_poly_inv_series_newton()fmpz_poly_inv_series_newton()_fmpz_poly_inv_series()fmpz_poly_inv_series()_fmpz_poly_div_series_basecase()_fmpz_poly_div_series_divconquer()_fmpz_poly_div_series()fmpz_poly_div_series_basecase()fmpz_poly_div_series_divconquer()fmpz_poly_div_series()
- Pseudo division
_fmpz_poly_pseudo_divrem_basecase()fmpz_poly_pseudo_divrem_basecase()_fmpz_poly_pseudo_divrem_divconquer()fmpz_poly_pseudo_divrem_divconquer()_fmpz_poly_pseudo_divrem_cohen()fmpz_poly_pseudo_divrem_cohen()_fmpz_poly_pseudo_rem_cohen()fmpz_poly_pseudo_rem_cohen()_fmpz_poly_pseudo_divrem()fmpz_poly_pseudo_divrem()_fmpz_poly_pseudo_div()fmpz_poly_pseudo_div()_fmpz_poly_pseudo_rem()fmpz_poly_pseudo_rem()
- Derivative
- Evaluation
_fmpz_poly_evaluate_divconquer_fmpz()fmpz_poly_evaluate_divconquer_fmpz()_fmpz_poly_evaluate_horner_fmpz()fmpz_poly_evaluate_horner_fmpz()_fmpz_poly_evaluate_fmpz()fmpz_poly_evaluate_fmpz()_fmpz_poly_evaluate_divconquer_fmpq()fmpz_poly_evaluate_divconquer_fmpq()_fmpz_poly_evaluate_horner_fmpq()fmpz_poly_evaluate_horner_fmpq()_fmpz_poly_evaluate_fmpq()fmpz_poly_evaluate_fmpq()_fmpz_poly_evaluate_mod()fmpz_poly_evaluate_mod()fmpz_poly_evaluate_fmpz_vec()_fmpz_poly_evaluate_horner_d()fmpz_poly_evaluate_horner_d()_fmpz_poly_evaluate_horner_d_2exp()fmpz_poly_evaluate_horner_d_2exp()_fmpz_poly_evaluate_horner_d_2exp2()
- Newton basis
- Interpolation
_fmpz_poly_interpolate_newton()fmpz_poly_interpolate_newton()_fmpz_poly_interpolate_multi_mod()fmpz_poly_interpolate_multi_mod()_fmpz_poly_interpolate()fmpz_poly_interpolate()_fmpz_poly_interpolate_exact_newton()fmpz_poly_interpolate_exact_newton()_fmpz_poly_interpolate_exact()fmpz_poly_interpolate_exact()fmpz_poly_interpolate_fmpz_vec()
- Composition
- Inflation and deflation
- Taylor shift
- Power series composition
- Power series reversion
- Square root
_fmpz_poly_sqrtrem_classical()fmpz_poly_sqrtrem_classical()_fmpz_poly_sqrtrem_divconquer()fmpz_poly_sqrtrem_divconquer()_fmpz_poly_sqrt_classical()fmpz_poly_sqrt_classical()_fmpz_poly_sqrt_KS()fmpz_poly_sqrt_KS()_fmpz_poly_sqrt_divconquer()fmpz_poly_sqrt_divconquer()_fmpz_poly_sqrt()fmpz_poly_sqrt()_fmpz_poly_sqrt_series()fmpz_poly_sqrt_series()
- Power sums
- Signature
- Hensel lifting
- Input and output
- Modular reduction and reconstruction
- Products
- Subproduct trees
- Roots
- Minimal polynomials
- Orthogonal polynomials
- Fibonacci polynomials
- Eulerian numbers and polynomials
- Modular forms and q-series
- CLD bounds
- fmpz_poly_mat.h – matrices of polynomials over the integers
- Simple example
- Types, macros and constants
- Memory management
- Basic properties
- Basic assignment and manipulation
- Input and output
- Random matrix generation
- Special matrices
- Basic comparison and properties
- Norms
- Transpose
- Evaluation
- Arithmetic
fmpz_poly_mat_scalar_mul_fmpz_poly()fmpz_poly_mat_scalar_mul_fmpz()fmpz_poly_mat_add()fmpz_poly_mat_sub()fmpz_poly_mat_neg()fmpz_poly_mat_mul()fmpz_poly_mat_mul_classical()fmpz_poly_mat_mul_KS()fmpz_poly_mat_mullow()fmpz_poly_mat_sqr()fmpz_poly_mat_sqr_classical()fmpz_poly_mat_sqr_KS()fmpz_poly_mat_sqrlow()fmpz_poly_mat_pow()fmpz_poly_mat_pow_trunc()fmpz_poly_mat_prod()
- Row reduction
- Trace
- Determinant and rank
- Inverse
- Nullspace
- Solving
- fmpz_poly_factor.h – factorisation of polynomials over the integers
- fmpz_mpoly.h – multivariate polynomials over the integers
- Types, macros and constants
- Context object
- Memory management
- Input/Output
- Basic manipulation
- Constants
- Degrees
- Coefficients
fmpz_mpoly_get_coeff_fmpz_monomial()fmpz_mpoly_set_coeff_fmpz_monomial()fmpz_mpoly_get_coeff_fmpz_fmpz()fmpz_mpoly_get_coeff_ui_fmpz()fmpz_mpoly_get_coeff_si_fmpz()fmpz_mpoly_get_coeff_fmpz_ui()fmpz_mpoly_get_coeff_ui_ui()fmpz_mpoly_get_coeff_si_ui()fmpz_mpoly_set_coeff_fmpz_fmpz()fmpz_mpoly_set_coeff_ui_fmpz()fmpz_mpoly_set_coeff_si_fmpz()fmpz_mpoly_set_coeff_fmpz_ui()fmpz_mpoly_set_coeff_ui_ui()fmpz_mpoly_set_coeff_si_ui()fmpz_mpoly_get_coeff_vars_ui()
- Comparison
- Conversion
- Container operations
fmpz_mpoly_term_coeff_ref()fmpz_mpoly_is_canonical()fmpz_mpoly_length()fmpz_mpoly_resize()fmpz_mpoly_get_term_coeff_fmpz()fmpz_mpoly_get_term_coeff_ui()fmpz_mpoly_get_term_coeff_si()fmpz_mpoly_set_term_coeff_fmpz()fmpz_mpoly_set_term_coeff_ui()fmpz_mpoly_set_term_coeff_si()fmpz_mpoly_term_exp_fits_si()fmpz_mpoly_term_exp_fits_ui()fmpz_mpoly_get_term_exp_fmpz()fmpz_mpoly_get_term_exp_ui()fmpz_mpoly_get_term_exp_si()fmpz_mpoly_get_term_var_exp_ui()fmpz_mpoly_get_term_var_exp_si()fmpz_mpoly_set_term_exp_fmpz()fmpz_mpoly_set_term_exp_ui()fmpz_mpoly_get_term()fmpz_mpoly_get_term_monomial()fmpz_mpoly_push_term_fmpz_fmpz()fmpz_mpoly_push_term_fmpz_ffmpz()fmpz_mpoly_push_term_ui_fmpz()fmpz_mpoly_push_term_ui_ffmpz()fmpz_mpoly_push_term_si_fmpz()fmpz_mpoly_push_term_si_ffmpz()fmpz_mpoly_push_term_fmpz_ui()fmpz_mpoly_push_term_ui_ui()fmpz_mpoly_push_term_si_ui()fmpz_mpoly_sort_terms()fmpz_mpoly_combine_like_terms()fmpz_mpoly_reverse()
- Random generation
- Addition/Subtraction
- Scalar operations
fmpz_mpoly_neg()fmpz_mpoly_scalar_mul_fmpz()fmpz_mpoly_scalar_mul_ui()fmpz_mpoly_scalar_mul_si()fmpz_mpoly_scalar_fmma()fmpz_mpoly_scalar_divexact_fmpz()fmpz_mpoly_scalar_divexact_ui()fmpz_mpoly_scalar_divexact_si()fmpz_mpoly_scalar_divides_fmpz()fmpz_mpoly_scalar_divides_ui()fmpz_mpoly_scalar_divides_si()
- Differentiation/Integration
- Evaluation
- Multiplication
- Powering
- Division
- Greatest Common Divisor
- Square Root
- Univariate Functions
- Internal Functions
fmpz_mpoly_inflate()fmpz_mpoly_deflate()fmpz_mpoly_deflation()fmpz_mpoly_pow_fps()_fmpz_mpoly_divides_array()fmpz_mpoly_divides_array()_fmpz_mpoly_divides_monagan_pearce()fmpz_mpoly_divides_monagan_pearce()fmpz_mpoly_divides_heap_threaded()_fmpz_mpoly_div_monagan_pearce()fmpz_mpoly_div_monagan_pearce()_fmpz_mpoly_divrem_monagan_pearce()fmpz_mpoly_divrem_monagan_pearce()_fmpz_mpoly_divrem_array()fmpz_mpoly_divrem_array()fmpz_mpoly_quasidivrem_heap()_fmpz_mpoly_divrem_ideal_monagan_pearce()fmpz_mpoly_divrem_ideal_monagan_pearce()
- Vectors
fmpz_mpoly_vec_structfmpz_mpoly_vec_tfmpz_mpoly_vec_entry()fmpz_mpoly_vec_init()fmpz_mpoly_vec_clear()fmpz_mpoly_vec_print()fmpz_mpoly_vec_swap()fmpz_mpoly_vec_fit_length()fmpz_mpoly_vec_set()fmpz_mpoly_vec_append()fmpz_mpoly_vec_insert_unique()fmpz_mpoly_vec_set_length()fmpz_mpoly_vec_randtest_not_zero()fmpz_mpoly_vec_set_primitive_unique()
- Ideals and Gröbner bases
- Special polynomials
- fmpz_mpoly_factor.h – factorisation of multivariate polynomials over the integers
- long_extras.h – support functions for signed word arithmetic
- longlong.h – support functions for multi-word arithmetic
- mpn_extras.h – support functions for limb arrays
- Macros
- Utility functions
- Addition and subtraction
- Multiplication
- Truncating multiplication
_flint_mpn_mulhigh_n_mulders_recursive()_flint_mpn_sqrhigh_mulders_recursive()_flint_mpn_mulhigh_basecase()_flint_mpn_mulhigh_n_mulders()_flint_mpn_mulhigh_n_mul()flint_mpn_mulhigh_n()_flint_mpn_sqrhigh_basecase()_flint_mpn_sqrhigh_mulders()_flint_mpn_sqrhigh_sqr()flint_mpn_sqrhigh()_flint_mpn_mullow_n_mulders_recursive()flint_mpn_mullow_basecase()_flint_mpn_mullow_n_mulders()_flint_mpn_mullow_n_mul()_flint_mpn_mullow_n()flint_mpn_mullow_n()flint_mpn_mul_or_mullow_n()flint_mpn_mul_or_mulhigh_n()
- Divisibility
- Division
- Division and modular arithmetic with precomputed inverses
flint_mpn_preinv1()flint_mpn_divrem_preinv1()flint_mpn_divrem_1_preinv()flint_mpn_divrem_2_1_preinv_norm()flint_mpn_divrem_2_1_preinv_unnorm()flint_mpn_divrem_3_1_preinv_norm()flint_mpn_divrem_3_1_preinv_unnorm()flint_mpn_mulmod_preinv1()flint_mpn_preinvn()flint_mpn_mod_preinvn()flint_mpn_divrem_preinvn()flint_mpn_mulmod_preinvn()flint_mpn_mulmod_preinvn_2()flint_mpn_fmmamod_preinvn()flint_mpn_fmmamod_preinvn_2()
- Preconditioned modular multiplication
- GCD
- Random Number Generation
- aprcl.h – APRCL primality testing
- arith.h – arithmetic and special functions
- Harmonic numbers
- Stirling numbers
- Bell numbers
arith_bell_number()arith_bell_number_dobinski()arith_bell_number_multi_mod()arith_bell_number_vec()arith_bell_number_vec_recursive()arith_bell_number_vec_multi_mod()arith_bell_number_nmod()arith_bell_number_nmod_vec()arith_bell_number_nmod_vec_recursive()arith_bell_number_nmod_vec_ogf()arith_bell_number_nmod_vec_series()arith_bell_number_size()
- Bernoulli numbers and polynomials
- Euler numbers and polynomials
- Multiplicative functions
- Landau’s function
- Number of partitions
- Sums of squares
- fft.h – Schoenhage-Strassen FFT
- qsieve.h – Quadratic sieve
qsieve_knuth_schroeppel()qsieve_primes_init()qsieve_primes_increment()qsieve_init_A0()qsieve_next_A0()qsieve_compute_pre_data()qsieve_init_poly_first()qsieve_init_poly_next()qsieve_compute_C()qsieve_do_sieving()qsieve_do_sieving2()qsieve_evaluate_candidate()qsieve_evaluate_sieve()qsieve_collect_relations()qsieve_write_to_file()qsieve_get_table_entry()qsieve_add_to_hashtable()qsieve_parse_relation()qsieve_merge_relation()qsieve_compare_relation()qsieve_remove_duplicates()qsieve_insert_relation2()qsieve_process_relation()qsieve_factor()