#17319: Add a powers() method to monoid elements
-------------------------------------+-------------------------------------
       Reporter:  pbruin             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  basic arithmetic   |   Resolution:
       Keywords:  power              |    Merged in:
        Authors:  Peter Bruin        |    Reviewers:  Travis Scrimshaw
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/pbruin/17319-powers              |  72d665c754df9440f35299720c6191d601ae695b
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by pbruin):

 Replying to [comment:2 tscrim]:
 > I'm going to be (extremely) paranoid and ask to rewrite `x *= self` as
 `x = x * self` in case something happens to get done in place. Otherwise
 LGTM.
 Good point, done.
 > Edit - Actually could you also add it to `Monoids.ElementMethods` for
 monoids whose elements don't inherit from `MonoidElement`?
 Also done; matrices are an example of this.

--
Ticket URL: <http://trac.sagemath.org/ticket/17319#comment:4>
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