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

Dokchitser: Pass internal parameter over properly #38482

Merged
merged 3 commits into from
Nov 16, 2024

Conversation

user202729
Copy link
Contributor

Previously the c parameter was completely unused. I assume this is what it should be used for.

The documentation is copied from the PARI code.

I don't think there's a way to actually test it, but there is already code in the docstring that tries to pass $c ≠ 1$.

The documentation update is invisible because of #38480 .

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion. (not aware of one)
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

Copy link

github-actions bot commented Aug 7, 2024

Documentation preview for this PR (built with commit d8a89d0; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@user202729
Copy link
Contributor Author

user202729 commented Aug 7, 2024

I don't know what the der is supposed to do (previously it is just passed to the c parameter which is then discarded), but given the name my best guess is derivative. So the change the code accordingly.

Let's see if the tests pass. (Edit: Looks like it pass, the failures appears to be unrelated to the change.)

@user202729
Copy link
Contributor Author

Maybe @robertwb can give a review and check if the intention of der is correct? You created the GrossZagierLseries class.

@fchapoton
Copy link
Contributor

fchapoton commented Aug 9, 2024

note that the Dokchitser implementation is rather here as an legacy (maybe even obsolete) one, as there is similar code included in pari, for which we do have an interface already in place

@user202729
Copy link
Contributor Author

I guess we could add that to the documentation too, pointing out it is deprecated and what is the equivalent new interface.

That said, the program is just a script in pari/gp?

@fchapoton
Copy link
Contributor

does not build, typo on line 526

Copy link
Contributor

@fchapoton fchapoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok ; why not

vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 13, 2024
sagemathgh-38482: Dokchitser: Pass internal parameter over properly
    
Previously the `c` parameter was completely unused. I assume this is
what it should be used for.

The documentation is copied from the PARI code.

I don't think there's a way to actually test it, but there is already
code in the docstring that tries to pass $c ≠ 1$.

The documentation update is invisible because of
sagemath#38480 .

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion. (not aware of one)
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#38482
Reported by: user202729
Reviewer(s): Frédéric Chapoton
@vbraun vbraun merged commit a4ed86a into sagemath:develop Nov 16, 2024
20 of 23 checks passed
@user202729 user202729 deleted the patch-9 branch November 16, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants