-
-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Milestone
Description
We should use the PARI functions wrapped in #18739 to avoid initialisation of PARI rnf
structures when only doing simple arithmetic in relative number fields.
Summary of changes:
- new method
NumberFieldElement._pari_polynomial
; - replace the method
_pari_rnfequation
ofNumberField_relative
by_pari_rnfeq
, which calls the PARI functionnf_rnfeq
(which returns slightly more information thanrnfequation
); - replace
K.pari_rnf().rnfeltreltoabs(x)
byK._pari_rnfeq().eltreltoabs(x)
and similar; - remove the misleadingly named (and now obsolete) method
NumberField_relative._rnfeltreltoabs
, which only did something meaningful for elements in the base field; - merge
NumberField_relative.pari_polynomial
intoNumberField_generic.pari_polynomial
.
Depends on #18727
Depends on #18739
Component: number fields
Keywords: relative number field pari
Author: Peter Bruin
Branch/Commit: e59e8ec
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/18740