passagemath-flint 10.6.1rc10__cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- passagemath_flint-10.6.1rc10.dist-info/METADATA +122 -0
- passagemath_flint-10.6.1rc10.dist-info/RECORD +360 -0
- passagemath_flint-10.6.1rc10.dist-info/WHEEL +6 -0
- passagemath_flint-10.6.1rc10.dist-info/top_level.txt +2 -0
- passagemath_flint.libs/libflint-3701249d.so.21.0.0 +0 -0
- passagemath_flint.libs/libgf2x-fbd36f80.so.3.0.0 +0 -0
- passagemath_flint.libs/libgfortran-8a9a71bc.so.5.0.0 +0 -0
- passagemath_flint.libs/libgmp-93ebf16a.so.10.5.0 +0 -0
- passagemath_flint.libs/libgsl-e3525837.so.28.0.0 +0 -0
- passagemath_flint.libs/libmpfi-ad12a86d.so.0.0.0 +0 -0
- passagemath_flint.libs/libmpfr-e0f11cf3.so.6.2.1 +0 -0
- passagemath_flint.libs/libntl-1004113e.so.44.0.1 +0 -0
- passagemath_flint.libs/libopenblasp-r0-4c5b64b1.3.29.so +0 -0
- sage/all__sagemath_flint.py +29 -0
- sage/combinat/all__sagemath_flint.py +1 -0
- sage/combinat/posets/all__sagemath_flint.py +1 -0
- sage/combinat/posets/hasse_cython_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/combinat/posets/hasse_cython_flint.pyx +194 -0
- sage/data_structures/all__sagemath_flint.py +1 -0
- sage/data_structures/bounded_integer_sequences.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/data_structures/bounded_integer_sequences.pxd +62 -0
- sage/data_structures/bounded_integer_sequences.pyx +1418 -0
- sage/graphs/all__sagemath_flint.py +1 -0
- sage/graphs/chrompoly.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/graphs/chrompoly.pyx +555 -0
- sage/graphs/matchpoly.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/graphs/matchpoly.pyx +412 -0
- sage/libs/all__sagemath_flint.py +17 -0
- sage/libs/arb/__init__.py +1 -0
- sage/libs/arb/acb.pxd +154 -0
- sage/libs/arb/acb_calc.pxd +9 -0
- sage/libs/arb/acb_elliptic.pxd +25 -0
- sage/libs/arb/acb_hypgeom.pxd +74 -0
- sage/libs/arb/acb_mat.pxd +62 -0
- sage/libs/arb/acb_modular.pxd +17 -0
- sage/libs/arb/acb_poly.pxd +216 -0
- sage/libs/arb/arb.pxd +240 -0
- sage/libs/arb/arb_fmpz_poly.pxd +21 -0
- sage/libs/arb/arb_hypgeom.pxd +83 -0
- sage/libs/arb/arb_wrap.h +34 -0
- sage/libs/arb/arf.pxd +131 -0
- sage/libs/arb/arith.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/arb/arith.pyx +87 -0
- sage/libs/arb/bernoulli.pxd +6 -0
- sage/libs/arb/mag.pxd +77 -0
- sage/libs/arb/types.pxd +37 -0
- sage/libs/flint/__init__.py +1 -0
- sage/libs/flint/acb.pxd +270 -0
- sage/libs/flint/acb_calc.pxd +22 -0
- sage/libs/flint/acb_dft.pxd +51 -0
- sage/libs/flint/acb_dirichlet.pxd +112 -0
- sage/libs/flint/acb_elliptic.pxd +42 -0
- sage/libs/flint/acb_hypgeom.pxd +169 -0
- sage/libs/flint/acb_macros.pxd +9 -0
- sage/libs/flint/acb_mat.pxd +136 -0
- sage/libs/flint/acb_mat_macros.pxd +10 -0
- sage/libs/flint/acb_modular.pxd +62 -0
- sage/libs/flint/acb_poly.pxd +251 -0
- sage/libs/flint/acb_poly_macros.pxd +8 -0
- sage/libs/flint/acb_theta.pxd +124 -0
- sage/libs/flint/acf.pxd +32 -0
- sage/libs/flint/aprcl.pxd +84 -0
- sage/libs/flint/arb.pxd +382 -0
- sage/libs/flint/arb_calc.pxd +31 -0
- sage/libs/flint/arb_fmpz_poly.pxd +34 -0
- sage/libs/flint/arb_fpwrap.pxd +215 -0
- sage/libs/flint/arb_hypgeom.pxd +147 -0
- sage/libs/flint/arb_macros.pxd +9 -0
- sage/libs/flint/arb_mat.pxd +140 -0
- sage/libs/flint/arb_mat_macros.pxd +10 -0
- sage/libs/flint/arb_poly.pxd +237 -0
- sage/libs/flint/arf.pxd +167 -0
- sage/libs/flint/arith.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/arith.pxd +76 -0
- sage/libs/flint/arith.pyx +77 -0
- sage/libs/flint/arith_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/arith_sage.pyx +308 -0
- sage/libs/flint/bernoulli.pxd +28 -0
- sage/libs/flint/bool_mat.pxd +52 -0
- sage/libs/flint/ca.pxd +203 -0
- sage/libs/flint/ca_ext.pxd +34 -0
- sage/libs/flint/ca_field.pxd +32 -0
- sage/libs/flint/ca_mat.pxd +117 -0
- sage/libs/flint/ca_poly.pxd +104 -0
- sage/libs/flint/ca_vec.pxd +46 -0
- sage/libs/flint/calcium.pxd +27 -0
- sage/libs/flint/d_mat.pxd +39 -0
- sage/libs/flint/d_vec.pxd +32 -0
- sage/libs/flint/dirichlet.pxd +57 -0
- sage/libs/flint/dlog.pxd +53 -0
- sage/libs/flint/double_extras.pxd +24 -0
- sage/libs/flint/double_interval.pxd +36 -0
- sage/libs/flint/fexpr.pxd +104 -0
- sage/libs/flint/fexpr_builtin.pxd +20 -0
- sage/libs/flint/fft.pxd +66 -0
- sage/libs/flint/flint.pxd +36 -0
- sage/libs/flint/flint_ntl_wrap.h +35 -0
- sage/libs/flint/flint_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/flint_sage.pyx +163 -0
- sage/libs/flint/flint_wrap.h +190 -0
- sage/libs/flint/fmpq.pxd +137 -0
- sage/libs/flint/fmpq_mat.pxd +105 -0
- sage/libs/flint/fmpq_mat_macros.pxd +10 -0
- sage/libs/flint/fmpq_mpoly.pxd +165 -0
- sage/libs/flint/fmpq_mpoly_factor.pxd +30 -0
- sage/libs/flint/fmpq_poly.pxd +241 -0
- sage/libs/flint/fmpq_poly_macros.pxd +9 -0
- sage/libs/flint/fmpq_poly_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/fmpq_poly_sage.pxd +31 -0
- sage/libs/flint/fmpq_poly_sage.pyx +48 -0
- sage/libs/flint/fmpq_vec.pxd +27 -0
- sage/libs/flint/fmpz.pxd +256 -0
- sage/libs/flint/fmpz_extras.pxd +32 -0
- sage/libs/flint/fmpz_factor.pxd +42 -0
- sage/libs/flint/fmpz_factor_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/fmpz_factor_sage.pxd +4 -0
- sage/libs/flint/fmpz_factor_sage.pyx +29 -0
- sage/libs/flint/fmpz_lll.pxd +49 -0
- sage/libs/flint/fmpz_macros.pxd +8 -0
- sage/libs/flint/fmpz_mat.pxd +184 -0
- sage/libs/flint/fmpz_mat_macros.pxd +10 -0
- sage/libs/flint/fmpz_mod.pxd +46 -0
- sage/libs/flint/fmpz_mod_mat.pxd +71 -0
- sage/libs/flint/fmpz_mod_mpoly.pxd +161 -0
- sage/libs/flint/fmpz_mod_mpoly_factor.pxd +28 -0
- sage/libs/flint/fmpz_mod_poly.pxd +249 -0
- sage/libs/flint/fmpz_mod_poly_factor.pxd +46 -0
- sage/libs/flint/fmpz_mod_vec.pxd +27 -0
- sage/libs/flint/fmpz_mpoly.pxd +224 -0
- sage/libs/flint/fmpz_mpoly_factor.pxd +29 -0
- sage/libs/flint/fmpz_mpoly_q.pxd +57 -0
- sage/libs/flint/fmpz_poly.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/fmpz_poly.pxd +407 -0
- sage/libs/flint/fmpz_poly.pyx +19 -0
- sage/libs/flint/fmpz_poly_factor.pxd +33 -0
- sage/libs/flint/fmpz_poly_macros.pxd +8 -0
- sage/libs/flint/fmpz_poly_mat.pxd +71 -0
- sage/libs/flint/fmpz_poly_q.pxd +55 -0
- sage/libs/flint/fmpz_poly_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/fmpz_poly_sage.pxd +20 -0
- sage/libs/flint/fmpz_poly_sage.pyx +500 -0
- sage/libs/flint/fmpz_vec.pxd +80 -0
- sage/libs/flint/fmpzi.pxd +52 -0
- sage/libs/flint/fq.pxd +97 -0
- sage/libs/flint/fq_default.pxd +84 -0
- sage/libs/flint/fq_default_mat.pxd +70 -0
- sage/libs/flint/fq_default_poly.pxd +97 -0
- sage/libs/flint/fq_default_poly_factor.pxd +39 -0
- sage/libs/flint/fq_embed.pxd +28 -0
- sage/libs/flint/fq_mat.pxd +83 -0
- sage/libs/flint/fq_nmod.pxd +95 -0
- sage/libs/flint/fq_nmod_embed.pxd +28 -0
- sage/libs/flint/fq_nmod_mat.pxd +83 -0
- sage/libs/flint/fq_nmod_mpoly.pxd +130 -0
- sage/libs/flint/fq_nmod_mpoly_factor.pxd +28 -0
- sage/libs/flint/fq_nmod_poly.pxd +202 -0
- sage/libs/flint/fq_nmod_poly_factor.pxd +47 -0
- sage/libs/flint/fq_nmod_vec.pxd +33 -0
- sage/libs/flint/fq_poly.pxd +204 -0
- sage/libs/flint/fq_poly_factor.pxd +47 -0
- sage/libs/flint/fq_vec.pxd +33 -0
- sage/libs/flint/fq_zech.pxd +99 -0
- sage/libs/flint/fq_zech_embed.pxd +28 -0
- sage/libs/flint/fq_zech_mat.pxd +78 -0
- sage/libs/flint/fq_zech_poly.pxd +198 -0
- sage/libs/flint/fq_zech_poly_factor.pxd +47 -0
- sage/libs/flint/fq_zech_vec.pxd +33 -0
- sage/libs/flint/gr.pxd +174 -0
- sage/libs/flint/gr_generic.pxd +215 -0
- sage/libs/flint/gr_mat.pxd +161 -0
- sage/libs/flint/gr_mpoly.pxd +68 -0
- sage/libs/flint/gr_poly.pxd +276 -0
- sage/libs/flint/gr_special.pxd +237 -0
- sage/libs/flint/gr_vec.pxd +120 -0
- sage/libs/flint/hypgeom.pxd +24 -0
- sage/libs/flint/long_extras.pxd +23 -0
- sage/libs/flint/mag.pxd +131 -0
- sage/libs/flint/mag_macros.pxd +8 -0
- sage/libs/flint/mpf_mat.pxd +36 -0
- sage/libs/flint/mpf_vec.pxd +34 -0
- sage/libs/flint/mpfr_mat.pxd +27 -0
- sage/libs/flint/mpfr_vec.pxd +25 -0
- sage/libs/flint/mpn_extras.pxd +41 -0
- sage/libs/flint/mpoly.pxd +72 -0
- sage/libs/flint/nf.pxd +19 -0
- sage/libs/flint/nf_elem.pxd +74 -0
- sage/libs/flint/nmod.pxd +35 -0
- sage/libs/flint/nmod_mat.pxd +104 -0
- sage/libs/flint/nmod_mpoly.pxd +144 -0
- sage/libs/flint/nmod_mpoly_factor.pxd +28 -0
- sage/libs/flint/nmod_poly.pxd +339 -0
- sage/libs/flint/nmod_poly_factor.pxd +44 -0
- sage/libs/flint/nmod_poly_linkage.pxi +710 -0
- sage/libs/flint/nmod_poly_mat.pxd +76 -0
- sage/libs/flint/nmod_vec.pxd +40 -0
- sage/libs/flint/ntl_interface.pxd +17 -0
- sage/libs/flint/padic.pxd +93 -0
- sage/libs/flint/padic_mat.pxd +64 -0
- sage/libs/flint/padic_poly.pxd +88 -0
- sage/libs/flint/partitions.pxd +23 -0
- sage/libs/flint/perm.pxd +26 -0
- sage/libs/flint/profiler.pxd +24 -0
- sage/libs/flint/qadic.pxd +77 -0
- sage/libs/flint/qfb.pxd +44 -0
- sage/libs/flint/qqbar.pxd +172 -0
- sage/libs/flint/qsieve.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/qsieve.pxd +41 -0
- sage/libs/flint/qsieve.pyx +21 -0
- sage/libs/flint/qsieve_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/qsieve_sage.pyx +67 -0
- sage/libs/flint/thread_pool.pxd +25 -0
- sage/libs/flint/types.pxd +2076 -0
- sage/libs/flint/ulong_extras.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/ulong_extras.pxd +141 -0
- sage/libs/flint/ulong_extras.pyx +21 -0
- sage/libs/flint/ulong_extras_sage.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/flint/ulong_extras_sage.pyx +21 -0
- sage/matrix/all__sagemath_flint.py +1 -0
- sage/matrix/change_ring.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/change_ring.pyx +43 -0
- sage/matrix/matrix_complex_ball_dense.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_complex_ball_dense.pxd +14 -0
- sage/matrix/matrix_complex_ball_dense.pyx +973 -0
- sage/matrix/matrix_cyclo_dense.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_cyclo_dense.pxd +16 -0
- sage/matrix/matrix_cyclo_dense.pyx +1761 -0
- sage/matrix/matrix_integer_dense.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_integer_dense.pxd +32 -0
- sage/matrix/matrix_integer_dense.pyx +5801 -0
- sage/matrix/matrix_integer_dense_hnf.py +1294 -0
- sage/matrix/matrix_integer_dense_saturation.py +346 -0
- sage/matrix/matrix_integer_sparse.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_integer_sparse.pxd +9 -0
- sage/matrix/matrix_integer_sparse.pyx +1090 -0
- sage/matrix/matrix_rational_dense.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_rational_dense.pxd +23 -0
- sage/matrix/matrix_rational_dense.pyx +2995 -0
- sage/matrix/matrix_rational_sparse.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/matrix_rational_sparse.pxd +11 -0
- sage/matrix/matrix_rational_sparse.pyx +789 -0
- sage/matrix/misc_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/matrix/misc_flint.pyx +109 -0
- sage/modular/all__sagemath_flint.py +1 -0
- sage/modular/modform/all__sagemath_flint.py +1 -0
- sage/modular/modform/eis_series_cython.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/modular/modform/eis_series_cython.pyx +226 -0
- sage/modular/modsym/all__sagemath_flint.py +1 -0
- sage/modular/modsym/apply.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/modular/modsym/apply.pxd +6 -0
- sage/modular/modsym/apply.pyx +113 -0
- sage/modular/modsym/heilbronn.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/modular/modsym/heilbronn.pyx +966 -0
- sage/modular/pollack_stevens/all__sagemath_flint.py +1 -0
- sage/modular/pollack_stevens/dist.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/modular/pollack_stevens/dist.pxd +38 -0
- sage/modular/pollack_stevens/dist.pyx +1439 -0
- sage/quivers/algebra.py +691 -0
- sage/quivers/algebra_elements.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/quivers/algebra_elements.pxd +97 -0
- sage/quivers/algebra_elements.pxi +1324 -0
- sage/quivers/algebra_elements.pyx +1424 -0
- sage/quivers/all.py +1 -0
- sage/quivers/ar_quiver.py +917 -0
- sage/quivers/homspace.py +640 -0
- sage/quivers/morphism.py +1282 -0
- sage/quivers/path_semigroup.py +1155 -0
- sage/quivers/paths.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/quivers/paths.pxd +13 -0
- sage/quivers/paths.pyx +809 -0
- sage/quivers/representation.py +2975 -0
- sage/rings/all__sagemath_flint.py +37 -0
- sage/rings/cif.py +4 -0
- sage/rings/complex_arb.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/complex_arb.pxd +29 -0
- sage/rings/complex_arb.pyx +5176 -0
- sage/rings/complex_interval.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/complex_interval.pxd +30 -0
- sage/rings/complex_interval.pyx +2475 -0
- sage/rings/complex_interval_field.py +711 -0
- sage/rings/convert/all.py +1 -0
- sage/rings/convert/mpfi.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/convert/mpfi.pxd +6 -0
- sage/rings/convert/mpfi.pyx +576 -0
- sage/rings/factorint_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/factorint_flint.pyx +99 -0
- sage/rings/fraction_field_FpT.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/fraction_field_FpT.pxd +28 -0
- sage/rings/fraction_field_FpT.pyx +2043 -0
- sage/rings/imaginary_unit.py +5 -0
- sage/rings/monomials.py +73 -0
- sage/rings/number_field/S_unit_solver.py +2870 -0
- sage/rings/number_field/all__sagemath_flint.py +7 -0
- sage/rings/number_field/bdd_height.py +664 -0
- sage/rings/number_field/class_group.py +762 -0
- sage/rings/number_field/galois_group.py +1307 -0
- sage/rings/number_field/homset.py +612 -0
- sage/rings/number_field/maps.py +687 -0
- sage/rings/number_field/morphism.py +272 -0
- sage/rings/number_field/number_field.py +12820 -0
- sage/rings/number_field/number_field_element.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/number_field/number_field_element.pxd +59 -0
- sage/rings/number_field/number_field_element.pyx +5735 -0
- sage/rings/number_field/number_field_element_quadratic.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/number_field/number_field_element_quadratic.pxd +34 -0
- sage/rings/number_field/number_field_element_quadratic.pyx +3185 -0
- sage/rings/number_field/number_field_ideal_rel.py +925 -0
- sage/rings/number_field/number_field_morphisms.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/number_field/number_field_morphisms.pyx +781 -0
- sage/rings/number_field/number_field_rel.py +2734 -0
- sage/rings/number_field/order.py +2981 -0
- sage/rings/number_field/order_ideal.py +804 -0
- sage/rings/number_field/selmer_group.py +715 -0
- sage/rings/number_field/small_primes_of_degree_one.py +242 -0
- sage/rings/number_field/splitting_field.py +606 -0
- sage/rings/number_field/structure.py +380 -0
- sage/rings/number_field/unit_group.py +721 -0
- sage/rings/padics/all__sagemath_flint.py +3 -0
- sage/rings/polynomial/all__sagemath_flint.py +1 -0
- sage/rings/polynomial/complex_roots.py +312 -0
- sage/rings/polynomial/evaluation_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/evaluation_flint.pxd +7 -0
- sage/rings/polynomial/evaluation_flint.pyx +68 -0
- sage/rings/polynomial/hilbert.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/hilbert.pyx +602 -0
- sage/rings/polynomial/polynomial_complex_arb.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/polynomial_complex_arb.pxd +7 -0
- sage/rings/polynomial/polynomial_complex_arb.pyx +963 -0
- sage/rings/polynomial/polynomial_integer_dense_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/polynomial_integer_dense_flint.pxd +13 -0
- sage/rings/polynomial/polynomial_integer_dense_flint.pyx +1881 -0
- sage/rings/polynomial/polynomial_number_field.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/polynomial_number_field.pyx +345 -0
- sage/rings/polynomial/polynomial_rational_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/polynomial_rational_flint.pxd +20 -0
- sage/rings/polynomial/polynomial_rational_flint.pyx +2598 -0
- sage/rings/polynomial/polynomial_zmod_flint.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/polynomial_zmod_flint.pxd +20 -0
- sage/rings/polynomial/polynomial_zmod_flint.pyx +1063 -0
- sage/rings/polynomial/real_roots.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/real_roots.pxd +81 -0
- sage/rings/polynomial/real_roots.pyx +4704 -0
- sage/rings/polynomial/refine_root.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/refine_root.pyx +142 -0
- sage/rings/polynomial/weil/all.py +4 -0
- sage/rings/polynomial/weil/power_sums.h +46 -0
- sage/rings/polynomial/weil/weil_polynomials.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/polynomial/weil/weil_polynomials.pyx +596 -0
- sage/rings/qqbar.py +9025 -0
- sage/rings/real_arb.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/real_arb.pxd +21 -0
- sage/rings/real_arb.pyx +4065 -0
- sage/rings/real_interval_absolute.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/real_interval_absolute.pyx +1073 -0
- sage/rings/real_mpfi.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/rings/real_mpfi.pyx +5428 -0
- sage/schemes/all__sagemath_flint.py +1 -0
- sage/schemes/elliptic_curves/all__sagemath_flint.py +1 -0
- sage/schemes/elliptic_curves/descent_two_isogeny.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/schemes/elliptic_curves/descent_two_isogeny.pyx +1387 -0
- sage/schemes/elliptic_curves/descent_two_isogeny_pari.pxd +5 -0
@@ -0,0 +1,104 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-flint
|
2
|
+
# distutils: libraries = flint
|
3
|
+
# distutils: depends = flint/fexpr.h
|
4
|
+
|
5
|
+
################################################################################
|
6
|
+
# This file is auto-generated by the script
|
7
|
+
# SAGE_ROOT/src/sage_setup/autogen/flint_autogen.py.
|
8
|
+
# From the commit 3e2c3a3e091106a25ca9c6fba28e02f2cbcd654a
|
9
|
+
# Do not modify by hand! Fix and rerun the script instead.
|
10
|
+
################################################################################
|
11
|
+
|
12
|
+
from libc.stdio cimport FILE
|
13
|
+
from sage.libs.gmp.types cimport *
|
14
|
+
from sage.libs.mpfr.types cimport *
|
15
|
+
from sage.libs.flint.types cimport *
|
16
|
+
|
17
|
+
cdef extern from "flint_wrap.h":
|
18
|
+
void fexpr_init(fexpr_t expr) noexcept
|
19
|
+
void fexpr_clear(fexpr_t expr) noexcept
|
20
|
+
fexpr_ptr _fexpr_vec_init(slong len) noexcept
|
21
|
+
void _fexpr_vec_clear(fexpr_ptr vec, slong len) noexcept
|
22
|
+
void fexpr_fit_size(fexpr_t expr, slong size) noexcept
|
23
|
+
void fexpr_set(fexpr_t res, const fexpr_t expr) noexcept
|
24
|
+
void fexpr_swap(fexpr_t a, fexpr_t b) noexcept
|
25
|
+
slong fexpr_depth(const fexpr_t expr) noexcept
|
26
|
+
slong fexpr_num_leaves(const fexpr_t expr) noexcept
|
27
|
+
slong fexpr_size(const fexpr_t expr) noexcept
|
28
|
+
slong fexpr_size_bytes(const fexpr_t expr) noexcept
|
29
|
+
slong fexpr_allocated_bytes(const fexpr_t expr) noexcept
|
30
|
+
bint fexpr_equal(const fexpr_t a, const fexpr_t b) noexcept
|
31
|
+
bint fexpr_equal_si(const fexpr_t expr, slong c) noexcept
|
32
|
+
bint fexpr_equal_ui(const fexpr_t expr, ulong c) noexcept
|
33
|
+
ulong fexpr_hash(const fexpr_t expr) noexcept
|
34
|
+
int fexpr_cmp_fast(const fexpr_t a, const fexpr_t b) noexcept
|
35
|
+
bint fexpr_is_integer(const fexpr_t expr) noexcept
|
36
|
+
bint fexpr_is_symbol(const fexpr_t expr) noexcept
|
37
|
+
bint fexpr_is_string(const fexpr_t expr) noexcept
|
38
|
+
bint fexpr_is_atom(const fexpr_t expr) noexcept
|
39
|
+
void fexpr_zero(fexpr_t res) noexcept
|
40
|
+
bint fexpr_is_zero(const fexpr_t expr) noexcept
|
41
|
+
bint fexpr_is_neg_integer(const fexpr_t expr) noexcept
|
42
|
+
void fexpr_set_si(fexpr_t res, slong c) noexcept
|
43
|
+
void fexpr_set_ui(fexpr_t res, ulong c) noexcept
|
44
|
+
void fexpr_set_fmpz(fexpr_t res, const fmpz_t c) noexcept
|
45
|
+
int fexpr_get_fmpz(fmpz_t res, const fexpr_t expr) noexcept
|
46
|
+
void fexpr_set_symbol_builtin(fexpr_t res, slong id) noexcept
|
47
|
+
bint fexpr_is_builtin_symbol(const fexpr_t expr, slong id) noexcept
|
48
|
+
bint fexpr_is_any_builtin_symbol(const fexpr_t expr) noexcept
|
49
|
+
void fexpr_set_symbol_str(fexpr_t res, const char * s) noexcept
|
50
|
+
char * fexpr_get_symbol_str(const fexpr_t expr) noexcept
|
51
|
+
void fexpr_set_string(fexpr_t res, const char * s) noexcept
|
52
|
+
char * fexpr_get_string(const fexpr_t expr) noexcept
|
53
|
+
void fexpr_write(calcium_stream_t stream, const fexpr_t expr) noexcept
|
54
|
+
void fexpr_print(const fexpr_t expr) noexcept
|
55
|
+
char * fexpr_get_str(const fexpr_t expr) noexcept
|
56
|
+
void fexpr_write_latex(calcium_stream_t stream, const fexpr_t expr, ulong flags) noexcept
|
57
|
+
void fexpr_print_latex(const fexpr_t expr, ulong flags) noexcept
|
58
|
+
char * fexpr_get_str_latex(const fexpr_t expr, ulong flags) noexcept
|
59
|
+
slong fexpr_nargs(const fexpr_t expr) noexcept
|
60
|
+
void fexpr_func(fexpr_t res, const fexpr_t expr) noexcept
|
61
|
+
void fexpr_view_func(fexpr_t view, const fexpr_t expr) noexcept
|
62
|
+
void fexpr_arg(fexpr_t res, const fexpr_t expr, slong i) noexcept
|
63
|
+
void fexpr_view_arg(fexpr_t view, const fexpr_t expr, slong i) noexcept
|
64
|
+
void fexpr_view_next(fexpr_t view) noexcept
|
65
|
+
bint fexpr_is_builtin_call(const fexpr_t expr, slong id) noexcept
|
66
|
+
bint fexpr_is_any_builtin_call(const fexpr_t expr) noexcept
|
67
|
+
void fexpr_call0(fexpr_t res, const fexpr_t f) noexcept
|
68
|
+
void fexpr_call1(fexpr_t res, const fexpr_t f, const fexpr_t x1) noexcept
|
69
|
+
void fexpr_call2(fexpr_t res, const fexpr_t f, const fexpr_t x1, const fexpr_t x2) noexcept
|
70
|
+
void fexpr_call3(fexpr_t res, const fexpr_t f, const fexpr_t x1, const fexpr_t x2, const fexpr_t x3) noexcept
|
71
|
+
void fexpr_call4(fexpr_t res, const fexpr_t f, const fexpr_t x1, const fexpr_t x2, const fexpr_t x3, const fexpr_t x4) noexcept
|
72
|
+
void fexpr_call_vec(fexpr_t res, const fexpr_t f, fexpr_srcptr args, slong len) noexcept
|
73
|
+
void fexpr_call_builtin1(fexpr_t res, slong f, const fexpr_t x1) noexcept
|
74
|
+
void fexpr_call_builtin2(fexpr_t res, slong f, const fexpr_t x1, const fexpr_t x2) noexcept
|
75
|
+
bint fexpr_contains(const fexpr_t expr, const fexpr_t x) noexcept
|
76
|
+
int fexpr_replace(fexpr_t res, const fexpr_t expr, const fexpr_t x, const fexpr_t y) noexcept
|
77
|
+
int fexpr_replace2(fexpr_t res, const fexpr_t expr, const fexpr_t x1, const fexpr_t y1, const fexpr_t x2, const fexpr_t y2) noexcept
|
78
|
+
int fexpr_replace_vec(fexpr_t res, const fexpr_t expr, const fexpr_vec_t xs, const fexpr_vec_t ys) noexcept
|
79
|
+
void fexpr_set_fmpq(fexpr_t res, const fmpq_t x) noexcept
|
80
|
+
void fexpr_set_arf(fexpr_t res, const arf_t x) noexcept
|
81
|
+
void fexpr_set_d(fexpr_t res, double x) noexcept
|
82
|
+
void fexpr_set_re_im_d(fexpr_t res, double x, double y) noexcept
|
83
|
+
void fexpr_neg(fexpr_t res, const fexpr_t a) noexcept
|
84
|
+
void fexpr_add(fexpr_t res, const fexpr_t a, const fexpr_t b) noexcept
|
85
|
+
void fexpr_sub(fexpr_t res, const fexpr_t a, const fexpr_t b) noexcept
|
86
|
+
void fexpr_mul(fexpr_t res, const fexpr_t a, const fexpr_t b) noexcept
|
87
|
+
void fexpr_div(fexpr_t res, const fexpr_t a, const fexpr_t b) noexcept
|
88
|
+
void fexpr_pow(fexpr_t res, const fexpr_t a, const fexpr_t b) noexcept
|
89
|
+
bint fexpr_is_arithmetic_operation(const fexpr_t expr) noexcept
|
90
|
+
void fexpr_arithmetic_nodes(fexpr_vec_t nodes, const fexpr_t expr) noexcept
|
91
|
+
int fexpr_get_fmpz_mpoly_q(fmpz_mpoly_q_t res, const fexpr_t expr, const fexpr_vec_t vars, const fmpz_mpoly_ctx_t ctx) noexcept
|
92
|
+
void fexpr_set_fmpz_mpoly(fexpr_t res, const fmpz_mpoly_t poly, const fexpr_vec_t vars, const fmpz_mpoly_ctx_t ctx) noexcept
|
93
|
+
void fexpr_set_fmpz_mpoly_q(fexpr_t res, const fmpz_mpoly_q_t frac, const fexpr_vec_t vars, const fmpz_mpoly_ctx_t ctx) noexcept
|
94
|
+
int fexpr_expanded_normal_form(fexpr_t res, const fexpr_t expr, ulong flags) noexcept
|
95
|
+
void fexpr_vec_init(fexpr_vec_t vec, slong len) noexcept
|
96
|
+
void fexpr_vec_clear(fexpr_vec_t vec) noexcept
|
97
|
+
void fexpr_vec_print(const fexpr_vec_t vec) noexcept
|
98
|
+
void fexpr_vec_swap(fexpr_vec_t x, fexpr_vec_t y) noexcept
|
99
|
+
void fexpr_vec_fit_length(fexpr_vec_t vec, slong len) noexcept
|
100
|
+
void fexpr_vec_set(fexpr_vec_t dest, const fexpr_vec_t src) noexcept
|
101
|
+
void fexpr_vec_append(fexpr_vec_t vec, const fexpr_t expr) noexcept
|
102
|
+
slong fexpr_vec_insert_unique(fexpr_vec_t vec, const fexpr_t expr) noexcept
|
103
|
+
void fexpr_vec_set_length(fexpr_vec_t vec, slong len) noexcept
|
104
|
+
void _fexpr_vec_sort_fast(fexpr_ptr vec, slong len) noexcept
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-flint
|
2
|
+
# distutils: libraries = flint
|
3
|
+
# distutils: depends = flint/fexpr_builtin.h
|
4
|
+
|
5
|
+
################################################################################
|
6
|
+
# This file is auto-generated by the script
|
7
|
+
# SAGE_ROOT/src/sage_setup/autogen/flint_autogen.py.
|
8
|
+
# From the commit 3e2c3a3e091106a25ca9c6fba28e02f2cbcd654a
|
9
|
+
# Do not modify by hand! Fix and rerun the script instead.
|
10
|
+
################################################################################
|
11
|
+
|
12
|
+
from libc.stdio cimport FILE
|
13
|
+
from sage.libs.gmp.types cimport *
|
14
|
+
from sage.libs.mpfr.types cimport *
|
15
|
+
from sage.libs.flint.types cimport *
|
16
|
+
|
17
|
+
cdef extern from "flint_wrap.h":
|
18
|
+
slong fexpr_builtin_lookup(const char * s) noexcept
|
19
|
+
const char * fexpr_builtin_name(slong n) noexcept
|
20
|
+
slong fexpr_builtin_length() noexcept
|
sage/libs/flint/fft.pxd
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-flint
|
2
|
+
# distutils: libraries = flint
|
3
|
+
# distutils: depends = flint/fft.h
|
4
|
+
|
5
|
+
################################################################################
|
6
|
+
# This file is auto-generated by the script
|
7
|
+
# SAGE_ROOT/src/sage_setup/autogen/flint_autogen.py.
|
8
|
+
# From the commit 3e2c3a3e091106a25ca9c6fba28e02f2cbcd654a
|
9
|
+
# Do not modify by hand! Fix and rerun the script instead.
|
10
|
+
################################################################################
|
11
|
+
|
12
|
+
from libc.stdio cimport FILE
|
13
|
+
from sage.libs.gmp.types cimport *
|
14
|
+
from sage.libs.mpfr.types cimport *
|
15
|
+
from sage.libs.flint.types cimport *
|
16
|
+
|
17
|
+
cdef extern from "flint_wrap.h":
|
18
|
+
mp_size_t fft_split_limbs(mp_limb_t ** poly, mp_srcptr limbs, mp_size_t total_limbs, mp_size_t coeff_limbs, mp_size_t output_limbs) noexcept
|
19
|
+
mp_size_t fft_split_bits(mp_limb_t ** poly, mp_srcptr limbs, mp_size_t total_limbs, flint_bitcnt_t bits, mp_size_t output_limbs) noexcept
|
20
|
+
void fft_combine_limbs(mp_limb_t * res, mp_limb_t ** poly, slong length, mp_size_t coeff_limbs, mp_size_t output_limbs, mp_size_t total_limbs) noexcept
|
21
|
+
void fft_combine_bits(mp_limb_t * res, mp_limb_t ** poly, slong length, flint_bitcnt_t bits, mp_size_t output_limbs, mp_size_t total_limbs) noexcept
|
22
|
+
void fermat_to_mpz(mpz_t m, mp_limb_t * i, mp_size_t limbs) noexcept
|
23
|
+
void mpn_negmod_2expp1(mp_limb_t * z, const mp_limb_t * a, mp_size_t limbs) noexcept
|
24
|
+
void mpn_addmod_2expp1_1(mp_limb_t * r, mp_size_t limbs, mp_limb_signed_t c) noexcept
|
25
|
+
void mpn_normmod_2expp1(mp_limb_t * t, mp_size_t limbs) noexcept
|
26
|
+
void mpn_mul_2expmod_2expp1(mp_limb_t * t, mp_limb_t * i1, mp_size_t limbs, flint_bitcnt_t d) noexcept
|
27
|
+
void mpn_div_2expmod_2expp1(mp_limb_t * t, mp_limb_t * i1, mp_size_t limbs, flint_bitcnt_t d) noexcept
|
28
|
+
void fft_adjust(mp_limb_t * r, mp_limb_t * i1, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w) noexcept
|
29
|
+
void fft_adjust_sqrt2(mp_limb_t * r, mp_limb_t * i1, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w, mp_limb_t * temp) noexcept
|
30
|
+
void butterfly_lshB(mp_limb_t * t, mp_limb_t * u, mp_limb_t * i1, mp_limb_t * i2, mp_size_t limbs, mp_size_t x, mp_size_t y) noexcept
|
31
|
+
void butterfly_rshB(mp_limb_t * t, mp_limb_t * u, mp_limb_t * i1, mp_limb_t * i2, mp_size_t limbs, mp_size_t x, mp_size_t y) noexcept
|
32
|
+
void fft_butterfly(mp_limb_t * s, mp_limb_t * t, mp_limb_t * i1, mp_limb_t * i2, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w) noexcept
|
33
|
+
void ifft_butterfly(mp_limb_t * s, mp_limb_t * t, mp_limb_t * i1, mp_limb_t * i2, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w) noexcept
|
34
|
+
void fft_radix2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2) noexcept
|
35
|
+
void fft_truncate(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t trunc) noexcept
|
36
|
+
void fft_truncate1(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t trunc) noexcept
|
37
|
+
void ifft_radix2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2) noexcept
|
38
|
+
void ifft_truncate(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t trunc) noexcept
|
39
|
+
void ifft_truncate1(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t trunc) noexcept
|
40
|
+
void fft_butterfly_sqrt2(mp_limb_t * s, mp_limb_t * t, mp_limb_t * i1, mp_limb_t * i2, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w, mp_limb_t * temp) noexcept
|
41
|
+
void ifft_butterfly_sqrt2(mp_limb_t * s, mp_limb_t * t, mp_limb_t * i1, mp_limb_t * i2, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w, mp_limb_t * temp) noexcept
|
42
|
+
void fft_truncate_sqrt2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t trunc) noexcept
|
43
|
+
void ifft_truncate_sqrt2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t trunc) noexcept
|
44
|
+
void fft_butterfly_twiddle(mp_limb_t * u, mp_limb_t * v, mp_limb_t * s, mp_limb_t * t, mp_size_t limbs, flint_bitcnt_t b1, flint_bitcnt_t b2) noexcept
|
45
|
+
void ifft_butterfly_twiddle(mp_limb_t * u, mp_limb_t * v, mp_limb_t * s, mp_limb_t * t, mp_size_t limbs, flint_bitcnt_t b1, flint_bitcnt_t b2) noexcept
|
46
|
+
void fft_radix2_twiddle(mp_limb_t ** ii, mp_size_t iis, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t ws, mp_size_t r, mp_size_t c, mp_size_t rs) noexcept
|
47
|
+
void ifft_radix2_twiddle(mp_limb_t ** ii, mp_size_t iis, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t ws, mp_size_t r, mp_size_t c, mp_size_t rs) noexcept
|
48
|
+
void fft_truncate1_twiddle(mp_limb_t ** ii, mp_size_t iis, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t ws, mp_size_t r, mp_size_t c, mp_size_t rs, mp_size_t trunc) noexcept
|
49
|
+
void ifft_truncate1_twiddle(mp_limb_t ** ii, mp_size_t iis, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_size_t ws, mp_size_t r, mp_size_t c, mp_size_t rs, mp_size_t trunc) noexcept
|
50
|
+
void fft_mfa_truncate_sqrt2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t n1, mp_size_t trunc) noexcept
|
51
|
+
void ifft_mfa_truncate_sqrt2(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t n1, mp_size_t trunc) noexcept
|
52
|
+
void fft_mfa_truncate_sqrt2_outer(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t n1, mp_size_t trunc) noexcept
|
53
|
+
void fft_mfa_truncate_sqrt2_inner(mp_limb_t ** ii, mp_limb_t ** jj, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t n1, mp_size_t trunc, mp_limb_t ** tt) noexcept
|
54
|
+
void ifft_mfa_truncate_sqrt2_outer(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp, mp_size_t n1, mp_size_t trunc) noexcept
|
55
|
+
void fft_negacyclic(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp) noexcept
|
56
|
+
void ifft_negacyclic(mp_limb_t ** ii, mp_size_t n, flint_bitcnt_t w, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** temp) noexcept
|
57
|
+
void fft_naive_convolution_1(mp_limb_t * r, mp_limb_t * ii, mp_limb_t * jj, mp_size_t m) noexcept
|
58
|
+
void _fft_mulmod_2expp1(mp_limb_t * r1, mp_limb_t * i1, mp_limb_t * i2, mp_size_t r_limbs, flint_bitcnt_t depth, flint_bitcnt_t w) noexcept
|
59
|
+
slong fft_adjust_limbs(mp_size_t limbs) noexcept
|
60
|
+
void fft_mulmod_2expp1(mp_limb_t * r, mp_limb_t * i1, mp_limb_t * i2, mp_size_t n, mp_size_t w, mp_limb_t * tt) noexcept
|
61
|
+
void mul_truncate_sqrt2(mp_ptr r1, mp_srcptr i1, mp_size_t n1, mp_srcptr i2, mp_size_t n2, flint_bitcnt_t depth, flint_bitcnt_t w) noexcept
|
62
|
+
void mul_mfa_truncate_sqrt2(mp_ptr r1, mp_srcptr i1, mp_size_t n1, mp_srcptr i2, mp_size_t n2, flint_bitcnt_t depth, flint_bitcnt_t w) noexcept
|
63
|
+
void flint_mpn_mul_fft_main(mp_ptr r1, mp_srcptr i1, mp_size_t n1, mp_srcptr i2, mp_size_t n2) noexcept
|
64
|
+
void fft_convolution(mp_limb_t ** ii, mp_limb_t ** jj, slong depth, slong limbs, slong trunc, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** s1, mp_limb_t ** tt) noexcept
|
65
|
+
void fft_precache(mp_limb_t ** jj, slong depth, slong limbs, slong trunc, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** s1) noexcept
|
66
|
+
void fft_convolution_precache(mp_limb_t ** ii, mp_limb_t ** jj, slong depth, slong limbs, slong trunc, mp_limb_t ** t1, mp_limb_t ** t2, mp_limb_t ** s1, mp_limb_t ** tt) noexcept
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-flint
|
2
|
+
# distutils: libraries = flint
|
3
|
+
# distutils: depends = flint/flint.h
|
4
|
+
|
5
|
+
################################################################################
|
6
|
+
# This file is auto-generated by the script
|
7
|
+
# SAGE_ROOT/src/sage_setup/autogen/flint_autogen.py.
|
8
|
+
# From the commit 3e2c3a3e091106a25ca9c6fba28e02f2cbcd654a
|
9
|
+
# Do not modify by hand! Fix and rerun the script instead.
|
10
|
+
################################################################################
|
11
|
+
|
12
|
+
from libc.stdio cimport FILE
|
13
|
+
from sage.libs.gmp.types cimport *
|
14
|
+
from sage.libs.mpfr.types cimport *
|
15
|
+
from sage.libs.flint.types cimport *
|
16
|
+
|
17
|
+
cdef extern from "flint_wrap.h":
|
18
|
+
mp_limb_t FLINT_BIT_COUNT(mp_limb_t x) noexcept
|
19
|
+
void * flint_malloc(size_t size) noexcept
|
20
|
+
void * flint_realloc(void * ptr, size_t size) noexcept
|
21
|
+
void * flint_calloc(size_t num, size_t size) noexcept
|
22
|
+
void flint_free(void * ptr) noexcept
|
23
|
+
flint_rand_struct * flint_rand_alloc() noexcept
|
24
|
+
void flint_rand_free(flint_rand_struct * state) noexcept
|
25
|
+
void flint_randinit(flint_rand_t state) noexcept
|
26
|
+
void flint_randclear(flint_rand_t state) noexcept
|
27
|
+
void flint_set_num_threads(int num_threads) noexcept
|
28
|
+
int flint_get_num_threads() noexcept
|
29
|
+
int flint_set_num_workers(int num_workers) noexcept
|
30
|
+
void flint_reset_num_workers(int num_workers) noexcept
|
31
|
+
int flint_printf(const char * str, ...) noexcept
|
32
|
+
int flint_fprintf(FILE * f, const char * str, ...) noexcept
|
33
|
+
int flint_sprintf(char * s, const char * str, ...) noexcept
|
34
|
+
int flint_scanf(const char * str, ...) noexcept
|
35
|
+
int flint_fscanf(FILE * f, const char * str, ...) noexcept
|
36
|
+
int flint_sscanf(const char * s, const char * str, ...) noexcept
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* sage_setup: distribution = sagemath-flint
|
2
|
+
*/
|
3
|
+
#ifndef SAGE_FLINT_NTL_WRAP_H
|
4
|
+
#define SAGE_FLINT_NTL_WRAP_H
|
5
|
+
/*
|
6
|
+
* Similar to flint_wrap.h but specifically for wrapping the flint-NTL
|
7
|
+
* interface. It is separate from flint_wrap.h so that not every module
|
8
|
+
* which uses flint has to pull in NTL headers as well.
|
9
|
+
*/
|
10
|
+
|
11
|
+
#include <gmp.h>
|
12
|
+
|
13
|
+
/* Save previous definition of ulong if any, as pari also uses it */
|
14
|
+
#pragma push_macro("ulong")
|
15
|
+
#undef ulong
|
16
|
+
|
17
|
+
#include <flint/flint.h>
|
18
|
+
|
19
|
+
/* If flint was already previously included via another header (e.g.
|
20
|
+
* arb_wrap.h) then it may be necessary to redefine ulong and slong again */
|
21
|
+
|
22
|
+
#ifndef ulong
|
23
|
+
#define ulong mp_limb_t
|
24
|
+
#define slong mp_limb_signed_t
|
25
|
+
#endif
|
26
|
+
|
27
|
+
#include <flint/NTL-interface.h>
|
28
|
+
|
29
|
+
#undef ulong
|
30
|
+
#undef slong
|
31
|
+
#undef mp_bitcnt_t
|
32
|
+
|
33
|
+
#pragma pop_macro("ulong")
|
34
|
+
|
35
|
+
#endif
|
Binary file
|
@@ -0,0 +1,163 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-flint
|
2
|
+
# distutils: extra_compile_args = -D_XPG6
|
3
|
+
|
4
|
+
# WARNING: src/sage/libs/flint/flint_sage.pyx is generated from
|
5
|
+
# src/sage_setup/autogen/flint/templates/flint_sage.pyx.template;
|
6
|
+
# please make sure that you are modifying the correct file!
|
7
|
+
"""
|
8
|
+
Flint imports
|
9
|
+
|
10
|
+
TESTS:
|
11
|
+
|
12
|
+
Import this module::
|
13
|
+
|
14
|
+
sage: import sage.libs.flint.flint_sage
|
15
|
+
|
16
|
+
We verify that :issue:`6919` is correctly fixed::
|
17
|
+
|
18
|
+
sage: R.<x> = PolynomialRing(ZZ)
|
19
|
+
sage: A = 2^(2^17+2^15)
|
20
|
+
sage: a = A * x^31
|
21
|
+
sage: b = (A * x) * x^30
|
22
|
+
sage: a == b
|
23
|
+
True
|
24
|
+
"""
|
25
|
+
|
26
|
+
# cimport all .pxd files to make sure they compile
|
27
|
+
from .acb cimport *
|
28
|
+
from .acb_calc cimport *
|
29
|
+
from .acb_dft cimport *
|
30
|
+
from .acb_dirichlet cimport *
|
31
|
+
from .acb_elliptic cimport *
|
32
|
+
from .acb_hypgeom cimport *
|
33
|
+
from .acb_mat cimport *
|
34
|
+
from .acb_modular cimport *
|
35
|
+
from .acb_poly cimport *
|
36
|
+
from .acf cimport *
|
37
|
+
from .aprcl cimport *
|
38
|
+
from .arb cimport *
|
39
|
+
from .arb_calc cimport *
|
40
|
+
from .arb_fmpz_poly cimport *
|
41
|
+
from .arb_fpwrap cimport *
|
42
|
+
from .arb_hypgeom cimport *
|
43
|
+
from .arb_mat cimport *
|
44
|
+
from .arb_poly cimport *
|
45
|
+
from .arf cimport *
|
46
|
+
from .arith cimport *
|
47
|
+
from .bernoulli cimport *
|
48
|
+
from .bool_mat cimport *
|
49
|
+
from .ca cimport *
|
50
|
+
from .ca_ext cimport *
|
51
|
+
from .ca_field cimport *
|
52
|
+
from .ca_mat cimport *
|
53
|
+
from .ca_poly cimport *
|
54
|
+
from .ca_vec cimport *
|
55
|
+
from .calcium cimport *
|
56
|
+
from .d_mat cimport *
|
57
|
+
from .d_vec cimport *
|
58
|
+
from .dirichlet cimport *
|
59
|
+
from .dlog cimport *
|
60
|
+
from .double_extras cimport *
|
61
|
+
from .double_interval cimport *
|
62
|
+
from .fexpr cimport *
|
63
|
+
from .fexpr_builtin cimport *
|
64
|
+
from .fft cimport *
|
65
|
+
from .flint cimport *
|
66
|
+
from .fmpq cimport *
|
67
|
+
from .fmpq_mat cimport *
|
68
|
+
from .fmpq_mpoly cimport *
|
69
|
+
from .fmpq_mpoly_factor cimport *
|
70
|
+
from .fmpq_poly cimport *
|
71
|
+
from .fmpq_vec cimport *
|
72
|
+
from .fmpz cimport *
|
73
|
+
from .fmpz_extras cimport *
|
74
|
+
from .fmpz_factor cimport *
|
75
|
+
from .fmpz_lll cimport *
|
76
|
+
from .fmpz_mat cimport *
|
77
|
+
from .fmpz_mod cimport *
|
78
|
+
from .fmpz_mod_mat cimport *
|
79
|
+
from .fmpz_mod_mpoly cimport *
|
80
|
+
from .fmpz_mod_mpoly_factor cimport *
|
81
|
+
from .fmpz_mod_poly cimport *
|
82
|
+
from .fmpz_mod_poly_factor cimport *
|
83
|
+
from .fmpz_mod_vec cimport *
|
84
|
+
from .fmpz_mpoly cimport *
|
85
|
+
from .fmpz_mpoly_factor cimport *
|
86
|
+
from .fmpz_mpoly_q cimport *
|
87
|
+
from .fmpz_poly cimport *
|
88
|
+
from .fmpz_poly_factor cimport *
|
89
|
+
from .fmpz_poly_mat cimport *
|
90
|
+
from .fmpz_poly_q cimport *
|
91
|
+
from .fmpz_vec cimport *
|
92
|
+
from .fmpzi cimport *
|
93
|
+
from .fq cimport *
|
94
|
+
from .fq_default cimport *
|
95
|
+
from .fq_default_mat cimport *
|
96
|
+
from .fq_default_poly cimport *
|
97
|
+
from .fq_default_poly_factor cimport *
|
98
|
+
from .fq_embed cimport *
|
99
|
+
from .fq_mat cimport *
|
100
|
+
from .fq_nmod cimport *
|
101
|
+
from .fq_nmod_embed cimport *
|
102
|
+
from .fq_nmod_mat cimport *
|
103
|
+
from .fq_nmod_mpoly cimport *
|
104
|
+
from .fq_nmod_mpoly_factor cimport *
|
105
|
+
from .fq_nmod_poly cimport *
|
106
|
+
from .fq_nmod_poly_factor cimport *
|
107
|
+
from .fq_nmod_vec cimport *
|
108
|
+
from .fq_poly cimport *
|
109
|
+
from .fq_poly_factor cimport *
|
110
|
+
from .fq_vec cimport *
|
111
|
+
from .fq_zech cimport *
|
112
|
+
from .fq_zech_embed cimport *
|
113
|
+
from .fq_zech_mat cimport *
|
114
|
+
from .fq_zech_poly cimport *
|
115
|
+
from .fq_zech_poly_factor cimport *
|
116
|
+
from .fq_zech_vec cimport *
|
117
|
+
from .gr cimport *
|
118
|
+
from .gr_generic cimport *
|
119
|
+
from .gr_mat cimport *
|
120
|
+
from .gr_mpoly cimport *
|
121
|
+
from .gr_poly cimport *
|
122
|
+
from .gr_special cimport *
|
123
|
+
from .gr_vec cimport *
|
124
|
+
from .hypgeom cimport *
|
125
|
+
from .long_extras cimport *
|
126
|
+
from .mag cimport *
|
127
|
+
from .mpf_mat cimport *
|
128
|
+
from .mpf_vec cimport *
|
129
|
+
from .mpfr_mat cimport *
|
130
|
+
from .mpfr_vec cimport *
|
131
|
+
from .mpn_extras cimport *
|
132
|
+
from .mpoly cimport *
|
133
|
+
from .nf cimport *
|
134
|
+
from .nf_elem cimport *
|
135
|
+
from .nmod cimport *
|
136
|
+
from .nmod_mat cimport *
|
137
|
+
from .nmod_mpoly cimport *
|
138
|
+
from .nmod_mpoly_factor cimport *
|
139
|
+
from .nmod_poly cimport *
|
140
|
+
from .nmod_poly_factor cimport *
|
141
|
+
from .nmod_poly_mat cimport *
|
142
|
+
from .nmod_vec cimport *
|
143
|
+
from .padic cimport *
|
144
|
+
from .padic_mat cimport *
|
145
|
+
from .padic_poly cimport *
|
146
|
+
from .partitions cimport *
|
147
|
+
from .perm cimport *
|
148
|
+
from .profiler cimport *
|
149
|
+
from .qadic cimport *
|
150
|
+
from .qfb cimport *
|
151
|
+
from .qqbar cimport *
|
152
|
+
from .qsieve cimport *
|
153
|
+
from .thread_pool cimport *
|
154
|
+
from .ulong_extras cimport *
|
155
|
+
|
156
|
+
# Try to clean up after ourselves before sage terminates. This
|
157
|
+
# probably doesn't do anything if your copy of flint is re-entrant
|
158
|
+
# (and most are). Moreover it isn't strictly necessary, because the OS
|
159
|
+
# will reclaim these resources anyway after sage terminates. However
|
160
|
+
# this might reveal other bugs, and can help tools like valgrind do
|
161
|
+
# their jobs.
|
162
|
+
import atexit
|
163
|
+
atexit.register(_fmpz_cleanup_mpz_content)
|
@@ -0,0 +1,190 @@
|
|
1
|
+
/* sage_setup: distribution = sagemath-flint
|
2
|
+
*/
|
3
|
+
/* WARNING: src/sage/libs/flint/flint_wrap.h is generated from
|
4
|
+
* src/sage_setup/autogen/flint/templates/flint_wrap.h.template
|
5
|
+
* please make sure that you are modifying the correct file! */
|
6
|
+
|
7
|
+
#ifndef SAGE_FLINT_WRAP_H
|
8
|
+
#define SAGE_FLINT_WRAP_H
|
9
|
+
/* Using flint headers together in the same module as headers from
|
10
|
+
* some other libraries (pari, possibly others) as it defines the
|
11
|
+
* macros ulong and slong all over the place.
|
12
|
+
*
|
13
|
+
* What's worse is they are defined to types from GMP (mp_limb_t and
|
14
|
+
* mp_limb_signed_t respectively) which themselves can have system-dependent
|
15
|
+
* typedefs, so there is no guarantee that all these 'ulong' definitions from
|
16
|
+
* different libraries' headers will be compatible.
|
17
|
+
*
|
18
|
+
* When including flint headers in Sage it should be done through this wrapper
|
19
|
+
* to prevent confusion. We rename flint's ulong and slong to fulong and
|
20
|
+
* fslong. This is consistent with flint's other f-prefixed typedefs.
|
21
|
+
*/
|
22
|
+
|
23
|
+
#include <gmp.h>
|
24
|
+
#include <mpfr.h>
|
25
|
+
|
26
|
+
/* Save previous definition of ulong if any, as pari also uses it */
|
27
|
+
/* Should work on GCC, clang, MSVC */
|
28
|
+
#pragma push_macro("ulong")
|
29
|
+
#undef ulong
|
30
|
+
|
31
|
+
/* Reserved in C99, needed for FLINT without https://github.com/flintlib/flint/pull/2027 */
|
32
|
+
#pragma push_macro("I")
|
33
|
+
#define I Iv
|
34
|
+
|
35
|
+
/* flint 3.2 will rename flint_rand_s to flint_rand_struct
|
36
|
+
* the following line can be removed when flint 3.1 is gone */
|
37
|
+
#define flint_rand_s flint_rand_struct
|
38
|
+
|
39
|
+
#include <flint/flint.h>
|
40
|
+
|
41
|
+
/* If flint was already previously included via another header (e.g.
|
42
|
+
* arb_wrap.h) then it may be necessary to redefine ulong and slong again */
|
43
|
+
|
44
|
+
#ifndef ulong
|
45
|
+
#define ulong mp_limb_t
|
46
|
+
#define slong mp_limb_signed_t
|
47
|
+
#endif
|
48
|
+
|
49
|
+
#include <flint/acb.h>
|
50
|
+
#include <flint/acb_calc.h>
|
51
|
+
#include <flint/acb_dft.h>
|
52
|
+
#include <flint/acb_dirichlet.h>
|
53
|
+
#include <flint/acb_elliptic.h>
|
54
|
+
#include <flint/acb_hypgeom.h>
|
55
|
+
#include <flint/acb_mat.h>
|
56
|
+
#include <flint/acb_modular.h>
|
57
|
+
#include <flint/acb_poly.h>
|
58
|
+
#include <flint/acf.h>
|
59
|
+
#include <flint/aprcl.h>
|
60
|
+
#include <flint/arb.h>
|
61
|
+
#include <flint/arb_calc.h>
|
62
|
+
#include <flint/arb_fmpz_poly.h>
|
63
|
+
#include <flint/arb_fpwrap.h>
|
64
|
+
#include <flint/arb_hypgeom.h>
|
65
|
+
#include <flint/arb_mat.h>
|
66
|
+
#include <flint/arb_poly.h>
|
67
|
+
#include <flint/arf.h>
|
68
|
+
#include <flint/arith.h>
|
69
|
+
#include <flint/bernoulli.h>
|
70
|
+
#include <flint/bool_mat.h>
|
71
|
+
#include <flint/ca.h>
|
72
|
+
#include <flint/ca_ext.h>
|
73
|
+
#include <flint/ca_field.h>
|
74
|
+
#include <flint/ca_mat.h>
|
75
|
+
#include <flint/ca_poly.h>
|
76
|
+
#include <flint/ca_vec.h>
|
77
|
+
#include <flint/calcium.h>
|
78
|
+
#include <flint/d_mat.h>
|
79
|
+
#include <flint/d_vec.h>
|
80
|
+
#include <flint/dirichlet.h>
|
81
|
+
#include <flint/dlog.h>
|
82
|
+
#include <flint/double_extras.h>
|
83
|
+
#include <flint/double_interval.h>
|
84
|
+
#include <flint/fexpr.h>
|
85
|
+
#include <flint/fexpr_builtin.h>
|
86
|
+
#include <flint/fft.h>
|
87
|
+
#include <flint/flint.h>
|
88
|
+
#include <flint/fmpq.h>
|
89
|
+
#include <flint/fmpq_mat.h>
|
90
|
+
#include <flint/fmpq_mpoly.h>
|
91
|
+
#include <flint/fmpq_mpoly_factor.h>
|
92
|
+
#include <flint/fmpq_poly.h>
|
93
|
+
#include <flint/fmpq_vec.h>
|
94
|
+
#include <flint/fmpz.h>
|
95
|
+
#include <flint/fmpz_extras.h>
|
96
|
+
#include <flint/fmpz_factor.h>
|
97
|
+
#include <flint/fmpz_lll.h>
|
98
|
+
#include <flint/fmpz_mat.h>
|
99
|
+
#include <flint/fmpz_mod.h>
|
100
|
+
#include <flint/fmpz_mod_mat.h>
|
101
|
+
#include <flint/fmpz_mod_mpoly.h>
|
102
|
+
#include <flint/fmpz_mod_mpoly_factor.h>
|
103
|
+
#include <flint/fmpz_mod_poly.h>
|
104
|
+
#include <flint/fmpz_mod_poly_factor.h>
|
105
|
+
#include <flint/fmpz_mod_vec.h>
|
106
|
+
#include <flint/fmpz_mpoly.h>
|
107
|
+
#include <flint/fmpz_mpoly_factor.h>
|
108
|
+
#include <flint/fmpz_mpoly_q.h>
|
109
|
+
#include <flint/fmpz_poly.h>
|
110
|
+
#include <flint/fmpz_poly_factor.h>
|
111
|
+
#include <flint/fmpz_poly_mat.h>
|
112
|
+
#include <flint/fmpz_poly_q.h>
|
113
|
+
#include <flint/fmpz_vec.h>
|
114
|
+
#include <flint/fmpzi.h>
|
115
|
+
#include <flint/fq.h>
|
116
|
+
#include <flint/fq_default.h>
|
117
|
+
#include <flint/fq_default_mat.h>
|
118
|
+
#include <flint/fq_default_poly.h>
|
119
|
+
#include <flint/fq_default_poly_factor.h>
|
120
|
+
#include <flint/fq_embed.h>
|
121
|
+
#include <flint/fq_mat.h>
|
122
|
+
#include <flint/fq_nmod.h>
|
123
|
+
#include <flint/fq_nmod_embed.h>
|
124
|
+
#include <flint/fq_nmod_mat.h>
|
125
|
+
#include <flint/fq_nmod_mpoly.h>
|
126
|
+
#include <flint/fq_nmod_mpoly_factor.h>
|
127
|
+
#include <flint/fq_nmod_poly.h>
|
128
|
+
#include <flint/fq_nmod_poly_factor.h>
|
129
|
+
#include <flint/fq_nmod_vec.h>
|
130
|
+
#include <flint/fq_poly.h>
|
131
|
+
#include <flint/fq_poly_factor.h>
|
132
|
+
#include <flint/fq_vec.h>
|
133
|
+
#include <flint/fq_zech.h>
|
134
|
+
#include <flint/fq_zech_embed.h>
|
135
|
+
#include <flint/fq_zech_mat.h>
|
136
|
+
#include <flint/fq_zech_poly.h>
|
137
|
+
#include <flint/fq_zech_poly_factor.h>
|
138
|
+
#include <flint/fq_zech_vec.h>
|
139
|
+
#include <flint/gr.h>
|
140
|
+
#include <flint/gr_generic.h>
|
141
|
+
#include <flint/gr_mat.h>
|
142
|
+
#include <flint/gr_mpoly.h>
|
143
|
+
#include <flint/gr_poly.h>
|
144
|
+
#include <flint/gr_special.h>
|
145
|
+
#include <flint/gr_vec.h>
|
146
|
+
#include <flint/hypgeom.h>
|
147
|
+
#include <flint/long_extras.h>
|
148
|
+
#include <flint/mag.h>
|
149
|
+
#include <flint/mpfr_mat.h>
|
150
|
+
#include <flint/mpfr_vec.h>
|
151
|
+
#include <flint/mpn_extras.h>
|
152
|
+
#include <flint/mpoly.h>
|
153
|
+
#include <flint/nf.h>
|
154
|
+
#include <flint/nf_elem.h>
|
155
|
+
#include <flint/nmod.h>
|
156
|
+
#include <flint/nmod_mat.h>
|
157
|
+
#include <flint/nmod_mpoly.h>
|
158
|
+
#include <flint/nmod_mpoly_factor.h>
|
159
|
+
#include <flint/nmod_poly.h>
|
160
|
+
#include <flint/nmod_poly_factor.h>
|
161
|
+
#include <flint/nmod_poly_mat.h>
|
162
|
+
#include <flint/nmod_types.h>
|
163
|
+
#include <flint/nmod_vec.h>
|
164
|
+
#include <flint/padic.h>
|
165
|
+
#include <flint/padic_mat.h>
|
166
|
+
#include <flint/padic_poly.h>
|
167
|
+
#include <flint/partitions.h>
|
168
|
+
#include <flint/perm.h>
|
169
|
+
#include <flint/profiler.h>
|
170
|
+
#include <flint/qadic.h>
|
171
|
+
#include <flint/qfb.h>
|
172
|
+
#include <flint/qqbar.h>
|
173
|
+
#include <flint/qsieve.h>
|
174
|
+
#include <flint/thread_pool.h>
|
175
|
+
#include <flint/ulong_extras.h>
|
176
|
+
|
177
|
+
#undef ulong
|
178
|
+
#undef slong
|
179
|
+
#undef mp_bitcnt_t
|
180
|
+
|
181
|
+
#pragma pop_macro("ulong")
|
182
|
+
#pragma pop_macro("I")
|
183
|
+
|
184
|
+
/* CPU_SIZE_1 and SIZE_RED_FAILURE_THRESH are defined as macros in flint/fmpz_lll.h
|
185
|
+
* and as variables in fplll/defs.h, which breaks build if linbox is compiled with fplll */
|
186
|
+
|
187
|
+
#undef CPU_SIZE_1
|
188
|
+
#undef SIZE_RED_FAILURE_THRESH
|
189
|
+
|
190
|
+
#endif
|