#13613: implement residue() for padic extensions
-------------------------------------------+-----------------------------
       Reporter:  saraedum                 |         Owner:  roed
           Type:  enhancement              |        Status:  needs_review
       Priority:  trivial                  |     Milestone:  sage-6.3
      Component:  padics                   |    Resolution:
       Keywords:  sd59                     |     Merged in:
        Authors:  Julian Rueth             |     Reviewers:
Report Upstream:  N/A                      |   Work issues:
         Branch:  u/saraedum/ticket/13613  |  Dependencies:
       Stopgaps:                           |
-------------------------------------------+-----------------------------
Changes (by saraedum):

 * changetime:  06/25/14 12:37:54 => 06/25/14 12:37:54


Old description:

> Currently, elements of padic extensions do not provide a {{{residue()}}}
> method:
>
> {{{
> sage: sage: K=Qp(3)
> sage: K(3).residue()
> 0
> sage: sage: R.<a> = K[]
> sage: sage: L.<a> = K.extension(a^2+1)
> sage: a.residue()
> AttributeError:
> 'sage.rings.padics.padic_ZZ_pX_CR_element.pAdicZZpXCRElement' object has
> no attribute 'residue'
> }}}
>
> The attached patch fixes this (at least for the easy case where the
> optional parameter {{{absprec=1}}}).

New description:

 Currently, elements of padic extensions do not provide a {{{residue()}}}
 method:

 {{{
 sage: sage: K=Qp(3)
 sage: K(3).residue()
 0
 sage: sage: R.<a> = K[]
 sage: sage: L.<a> = K.extension(a^2+1)
 sage: a.residue()
 AttributeError:
 'sage.rings.padics.padic_ZZ_pX_CR_element.pAdicZZpXCRElement' object has
 no attribute 'residue'
 }}}

 The attached branch fixes this (at least for the easy case where the
 optional parameter {{{absprec=1}}}).

--

--
Ticket URL: <http://trac.sagemath.org/ticket/13613#comment:9>
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/d/optout.

Reply via email to