#15243: Change algoritm for K.uniformizer(P)
-----------------------------+-----------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.13
Component: number fields | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-----------------------------
As shown by #14476, it is annoying that the following depends on the
hardware:
{{{
sage: K.<t> = NumberField(x^4 - x^3 - 3*x^2 - x + 1)
sage: [K.uniformizer(P) for P,e in factor(K.ideal(5))]
}}}
Moreover, the algorithm for `K.uniformizer()` seems inefficient: instead
of calling `idealappr()`, we can simply use the second component of the
`pari_prime()` structure. Experiments show that this yields equal results
for 32-bit and 64-bit machines (but there is no guarantee).
--
Ticket URL: <http://trac.sagemath.org/ticket/15243>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.