-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pari/NTL conversions #39396
base: develop
Are you sure you want to change the base?
pari/NTL conversions #39396
Conversation
Documentation preview for this PR (built with commit 6c6f5ab; changes) is ready! 🎉 |
You should run diff --git a/src/sage/data_structures/meson.build b/src/sage/data_structures/meson.build
index 8c100328378..3cc243fe62a 100644
--- a/src/sage/data_structures/meson.build
+++ b/src/sage/data_structures/meson.build
@@ -42,9 +42,7 @@ foreach name, pyx : extension_data
)
endforeach
-extension_data_cpp = {
- 'pairing_heap' : files('pairing_heap.pyx'),
-}
+extension_data_cpp = {'pairing_heap' : files('pairing_heap.pyx')}
foreach name, pyx : extension_data_cpp
py.extension_module(
diff --git a/src/sage/libs/pari/meson.build b/src/sage/libs/pari/meson.build
index 5952060267c..a7bf079ffbe 100644
--- a/src/sage/libs/pari/meson.build
+++ b/src/sage/libs/pari/meson.build
@@ -3,6 +3,7 @@ py.install_sources(
'all.py',
'convert_flint.pxd',
'convert_gmp.pxd',
+ 'convert_ntl.pxd',
'convert_sage.pxd',
'convert_sage_complex_double.pxd',
'convert_sage_real_double.pxd',
@@ -21,6 +22,7 @@ extension_data = {
'convert_sage_real_double' : files('convert_sage_real_double.pyx'),
'convert_sage_real_mpfr' : files('convert_sage_real_mpfr.pyx'),
'misc' : files('misc.pyx'),
+ 'convert_ntl' : files('convert_ntl.pyx'),
}
foreach name, pyx : extension_data also,
|
Thanks for your comments. I did update the meson configuration files. Concerning conversion via ZZ the aim is precisely to avoid the creation of any Python objects. Note that the current branch is just experimental. One should not go via gmp at all when converting from pari to NTL. Concerning
|
We implement C conversions between pari and NTL for
One of the goal is to make faster the coercion from the base ring with polynomials with coefficients in
GF(p^e)
📝 Checklist