scipy.special.zetac#
- scipy.special.zetac(x, out=None) = <ufunc 'zetac'>#
Riemannsche Zeta-Funktion minus 1.
Diese Funktion ist definiert als
\[\begin{split}\\zeta(x) = \\sum_{k=2}^{\\infty} 1 / k^x,\end{split}\]wobei
x > 1. Fürx < 1wird die analytische Fortsetzung berechnet. Weitere Informationen zur Riemannschen Zeta-Funktion finden Sie unter [dlmf].- Parameter:
- xarray_like von float
Werte, bei denen zeta(x) - 1 berechnet werden soll (muss reell sein).
- outndarray, optional
Optionales Ausgabe-Array für die Funktionsergebnisse
- Rückgabe:
- skalar oder ndarray
Werte von zeta(x) - 1.
Siehe auch
Referenzen
[dlmf]NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/25
Beispiele
>>> import numpy as np >>> from scipy.special import zetac, zeta
Einige spezielle Werte
>>> zetac(2), np.pi**2/6 - 1 (0.64493406684822641, 0.6449340668482264)
>>> zetac(-1), -1.0/12 - 1 (-1.0833333333333333, -1.0833333333333333)
Vergleichen Sie
zetac(x)mitzeta(x) - 1für große x>>> zetac(60), zeta(60) - 1 (8.673617380119933e-19, 0.0)