#19799: numerical approximation of zeta involving symbolic constants fails
-------------------------------------------------+-------------------------
       Reporter:  behackl                        |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-7.0
      Component:  symbolics                      |   Resolution:
       Keywords:                                 |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  Fixed upstream, in a later     |  Work issues:
  stable release.                                |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------
Description changed by rws:

Old description:

> when evaluating `zeta(s)` numerically at arguments where symbolic
> constants like `pi`, `sqrt(2)`, `log(2)` etc... are involved, it raises
> an error (in contrast to `gamma(s)`):
>
> {{{
> sage: gamma(pi).n()
> 2.28803779534003
> sage: zeta(pi).n()
> Traceback (most recent call last):
> ...
> TypeError: cannot evaluate symbolic expression numerically
> }}}
>
> or, similarly
>
> {{{
> sage: gamma(sqrt(2)).n()
> 0.886581428719259
> sage: zeta(sqrt(2)).n()
> Traceback (most recent call last):
> ...
> TypeError: cannot evaluate symbolic expression numerically
> }}}
>
> and so on.
>
> See https://github.com/pynac/pynac/issues/115

New description:

 when evaluating `zeta(s)` numerically at arguments where symbolic
 constants like `pi`, `sqrt(2)`, `log(2)` etc... are involved, it raises an
 error (in contrast to `gamma(s)`):

 {{{
 sage: gamma(pi).n()
 2.28803779534003
 sage: zeta(pi).n()
 Traceback (most recent call last):
 ...
 TypeError: cannot evaluate symbolic expression numerically
 }}}

 or, similarly

 {{{
 sage: gamma(sqrt(2)).n()
 0.886581428719259
 sage: zeta(sqrt(2)).n()
 Traceback (most recent call last):
 ...
 TypeError: cannot evaluate symbolic expression numerically
 }}}

 and so on.

 See https://github.com/pynac/pynac/issues/115

 Since this is fixed in Sage now, this ticket should provide doctests.

--

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