-
Notifications
You must be signed in to change notification settings - Fork 41
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
Implement Hurwitz Zeta function #125
Comments
I'll assign myself to this issue, but if anyone else wants to work on it, please go ahead. |
The previous version of 'zeta' was incorrect as it returned a list of successively improving approximations of the zeta function for its arguments instead of the final one.
@Bodigrim I have not forgotten about this issue, will tackle it next. In fact, @b-mehta you've been contributing to the package recently as well (and your PR is relevant to this issue), if you have any ideas or suggestions I'll listen. Afterwards, I plan on doing #79 and #100, but I'll take my time. |
I don't have any suggestions right now, but I'm happy to provide help or feedback when appropriate! |
In `betasProperty2/zetasProperty2`, sometimes a precision greater than `2e-53` was generated, and because the tests use `Double`, this lead to incorrect results with `NaN` values and improper test cases. The tests have been changed to avoid generating a precision greater than `2e-53`.
* The Hurwitz `zeta` function has been renamed to `zetaHurwitz` to avoid confusion with the Riemann `zetas` recurrence * The `betasProperty2` test now compares more terms of the Dirichlet beta function because the new implementation of `betasEven` is more numerically stable
…mpared in precision test
The previous version of 'zeta' was incorrect as it returned a list of successively improving approximations of the zeta function for its arguments instead of the final one.
In `betasProperty2/zetasProperty2`, sometimes a precision greater than `2e-53` was generated, and because the tests use `Double`, this lead to incorrect results with `NaN` values and improper test cases. The tests have been changed to avoid generating a precision greater than `2e-53`.
* The Hurwitz `zeta` function has been renamed to `zetaHurwitz` to avoid confusion with the Riemann `zetas` recurrence * The `betasProperty2` test now compares more terms of the Dirichlet beta function because the new implementation of `betasEven` is more numerically stable
…mpared in precision test
Haddock comments for `zetas,betas,zetaHurwitz` now have paragraphs for better readability. Plus, the stability and portability Haddock module comment fields for the Hurwitz module have been removed.
[#125] Implement Hurwitz zeta function
After #44 and #120, both the Riemann zeta function and the Dirichlet beta function have been implemented.
The Hurwitz zeta function is another important function that can be used to define both the Riemann zeta and the Dirichlet beta functions, so this issue is about refactoring the two latter functions to use the former.
This should all go into the newly created
Math.NumberTheory.Zeta
namespace.The text was updated successfully, but these errors were encountered: