#12555: Reimplement elements of Zp and Qp using templates
---------------------------+------------------------------------------------
Reporter: roed | Owner: roed
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: padics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Old description:
> The goal of this ticket is to reimplement elements of Zp and Qp using the
> ideas from sage/rings/polynomial/polynomial_template.pxi. This should
> make p-adics in Sage both easier to maintain and easier to add new
> classes.
New description:
The goal of this ticket is to reimplement elements of Zp and Qp using the
ideas from sage/rings/polynomial/polynomial_template.pxi. This should
make p-adics in Sage both easier to maintain and easier to add new
classes.
The final patch should not affect the external interface to Zp and Qp.
--
Comment(by roed):
Now includes capped absolute and fixed modulus elements. There are a few
problems remaining:
* `teichmuller_list` is disabled since it had a bug and I didn't want to
fix it at the time. I'll track this down later.
* Some coercions aren't working since the element class has changed.
This version should be enough for Justin to compare the performance of the
templated and non-templated versions. I'm now going to create another
patch on top of this which removes the untemplated versions.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12555#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.