#15804: Add lift_centered for more classes
-------------------------------------+-------------------------------------
Reporter: lftabera | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.2
Component: basic arithmetic | Resolution:
Keywords: modular | Merged in:
arithmetic, centered lift | Reviewers:
Authors: Luis Felipe | Work issues:
Tabera Alonso | Commit:
Report Upstream: N/A | e6bd63b1cbf2959f51e7c7493b99bc9f7b38d3c1
Branch: | Stopgaps:
u/lftabera/lift_centered |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
I would write the global function `lift_centered` as
{{{
try:
return p.lift_centered()
except AttributeError:
return p.lift()
}}}
such that it always works on modular objects, even if `.lift_centered()`
has no meaning.
--
Ticket URL: <http://trac.sagemath.org/ticket/15804#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 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.