#19540: AsymptoticExpansion.factorial
-------------------------------------+-------------------------------------
       Reporter:  dkrenn             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.1
      Component:  asymptotic         |   Resolution:
  expansions                         |    Merged in:
       Keywords:                     |    Reviewers:  Clemens Heuberger
        Authors:  Daniel Krenn       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  139f7c8078f6e86549b43860eca815763f9dc160
  u/dkrenn/asy/factorial             |     Stopgaps:
   Dependencies:  #19306, #19521,    |
  #19528                             |
-------------------------------------+-------------------------------------
Changes (by dkrenn):

 * status:  needs_work => needs_review


Comment:

 Replying to [comment:3 cheuberg]:
 > In principle, this would be fine; however, the following example fails:
 > {{{
 > sage: A.<m> = AsymptoticRing('m^QQ', QQ)
 > sage: m.factorial()
 > Traceback (most recent call last):
 > ...
 > TypeError: ...
 > >>>>>> *previous* ArithmeticError: Cannot build log(m)
 > since log(m) is not in Growth Group
 > m^QQ * (e^(n*log(n)))^QQ * (e^n)^QQ * n^QQ * log(n)^QQ.
 > }}}
 > The problem is that the method tries to build the correct growth group
 in `n` (hard-coded) but has no influence on the given growth group.

 Corrected (needed more rewriting than thought, but now `factorial` can do
 much better)

 > And if we have something like `log(m).factorial()`, then everything gets
 more involved.
 > This either needs to be fixed or documented.

 Documented.

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