Skip to content
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

Closed
rockbmb opened this issue Aug 12, 2018 · 3 comments
Closed

Implement Hurwitz Zeta function #125

rockbmb opened this issue Aug 12, 2018 · 3 comments

Comments

@rockbmb
Copy link
Contributor

rockbmb commented Aug 12, 2018

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.

@rockbmb
Copy link
Contributor Author

rockbmb commented Aug 12, 2018

I'll assign myself to this issue, but if anyone else wants to work on it, please go ahead.

rockbmb added a commit to rockbmb/arithmoi that referenced this issue Aug 13, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Aug 14, 2018
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.
@rockbmb
Copy link
Contributor Author

rockbmb commented Sep 10, 2018

@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.

@b-mehta
Copy link
Contributor

b-mehta commented Sep 10, 2018

I don't have any suggestions right now, but I'm happy to provide help or feedback when appropriate!

rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 17, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 18, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 24, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 24, 2018
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`.
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 24, 2018
* 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
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 24, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 29, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 29, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 29, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Sep 30, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
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.
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
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`.
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
* 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
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 3, 2018
rockbmb added a commit to rockbmb/arithmoi that referenced this issue Oct 19, 2018
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.
Bodigrim added a commit that referenced this issue Oct 19, 2018
[#125] Implement Hurwitz zeta function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants