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
引用
Thomas (2024). 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. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!