zetaRS approximates Riemann's zeta(0.5 + i*t) for large t
Run for example "zetaRS(100000)" to obtain an approximate value of zeta(0.5 + i*100000).
For large t, the routine is much faster than the zeta function that comes with Matlab's symbolic toolbox. The error is very small for large t, but zetaRS is not very precise for small t.
Example: >> tic; zetaRS(10000000), toc
ans = 11.4580 - 8.6434i
Elapsed time is 0.009604 seconds.
>> tic; zeta(0.5+10000000i), toc
ans = 11.4580 - 8.6434i
Elapsed time is 175.978625 seconds.
Source is: Xavier Gourdon and Pascal Sebah: Numerical evaluation of the Riemann Zeta-function, Numbers, constants and computation ,
or: http://numbers.computation.free.fr/Constants/Miscellaneous/zetaevaluations.pdf
Citation pour cette source
Thomas (2025). zetaRS approximates Riemann's zeta(0.5 + i*t) for large t (https://www.mathworks.com/matlabcentral/fileexchange/83278-zetars-approximates-riemann-s-zeta-0-5-i-t-for-large-t), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0 | Improved precision, cleared some errors. |
||
1.0.0 |