-
-
Notifications
You must be signed in to change notification settings - Fork 620
special values of transcendental functions #18141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
comment:2
Hi! I'm rather motivated to implement some of the special values mentioned above; and I guess the "correct" place would be However, I'm not quite sure of how to tackle the implementation of the Stieltjes constants. I think that it would be elegant if the constants were also available in pynac (such that The problem with this approach is, that I'm not sure of how to implement a familiy of constants in pynac---or even just in sage. What do you think about moving the part with the Stieltjes constants to a separate ticket? |
comment:3
Replying to @behackl:
Yes, where the functions are.
To recap GiNaC/Pynac by default implements series by differentiation so a naive way to get a nice expansion would be to implement special values of the derivatives like in #17678 with the Bessel functions. With
I haven't fiddled with Pynac series yet so I'm naive on how to get a different output for this. I'm also not exactly at home with complex analysis.
In Sage there is To implement a family of symbolic constants (i.e. indexed) would be a first. However, at first glance I see no reason why
It looks like this is a sensible approach. |
comment:5
Replying to @rwst:
This is a good idea; I'll open a ticket for the zeta-expansion. Should I also open an issue for pynac? Also, the numerical evaluation of the Stieltjes constants would be implemented in Sage (by some sort of |
comment:6
Replying to @behackl:
Done.
No. This could be a Cython function using arb. |
comment:7
No, Python suffices: http://docs.sympy.org/dev/modules/mpmath/functions/zeta.html#stieltjes |
comment:8
This means we can have generalized Stieltjes constants and Hurwitz zeta expansion with only minor additional work, right? |
comment:9
Replying to @rwst:
For the Zeta-function: yes, that is my impression. Regarding the expansion of the Hurwitz-Zeta, I'm not quite sure:
But yes, of course: if it is possible to set the expansion in some place, then we get the respective expansion of |
comment:10
It seems that adapting the expansion from |
comment:11
Replying to @behackl:
Yes, setting any of these functions in Python will override Pynac's implementation (and slow down its calls). In case of From experimentation I can say that if you define a |
comment:12
Regarding this ticket: as it turns out, there are closed-form formulae for The question is, whether we want that kind of expansion to happen for all k, or just for reasonably small k (as far as I can tell, these expansions really blow up fast in terms of summands). |
The functions in
transcentental.py
could return special values:zetaderiv(0,1)=-1/2*log(2*pi)
, http://dlmf.nist.gov/25.6#E11zetaderiv(0,2)=-1/2*log(2*pi)^2+...
, http://dlmf.nist.gov/25.6#E12, needs Euler constantshurwitz_zeta
, we already have:The latter should be
(2^x-1)*zeta(x)
. Alsohurwitz_zeta(0,...)
is missing, http://dlmf.nist.gov/25.11#vThis ticket may also discuss: are there closed forms without
zeta
forzeta
with odd positive argument: http://dlmf.nist.gov/25.6#E6 ?CC: @behackl
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/18141
The text was updated successfully, but these errors were encountered: