#19981: is_exact for asymptotic ring
-------------------------------------+-------------------------------------
       Reporter:  behackl            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.1
      Component:  asymptotic         |   Resolution:
  expansions                         |    Merged in:
       Keywords:                     |    Reviewers:  Daniel Krenn, Clemens
        Authors:                     |  Heuberger
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/behackl/asy/is_exact             |  26639e22157016fa1410ac8e14affd391779b6b9
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dkrenn):

 Replying to [comment:9 cheuberg]:
 > Apart from that: while the routine is hardly efficiency critical, it is
 somewhat inefficient to construct `exact_part` and then comparing with the
 original just to check whether all summands are `ExactTerm`s. If this is
 to ensure that future extensions of the term monoids won't introduce
 inconsistencies, then there could be a helper method `is_exact`.

 True. Maybe something like `all(T.is_exact() for T in self.summands)`...

--
Ticket URL: <http://trac.sagemath.org/ticket/19981#comment:10>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to