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 reverse() for LaurentSeries #25219
Comments
Commit: |
Author: Brent Baccala |
Branch: u/gh-BrentBaccala/25219 |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Rather than |
comment:6
Also, I am not able to reproduce the bug that you mention in the ticket description on 8.7.beta6... |
Reviewer: Vincent Delecroix |
comment:7
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:10
Code updated as suggested. I can't reproduce the bug anymore, either. I added it as a test case. |
comment:11
Does power series really behave this way
It is very counterintuitive to have methods whose output type depends on the nature of the answer. If you do I would suggest to have I am just asking for your opinion as this is beyond the scope of the ticket. |
comment:12
Replying to @videlec:
I chose to mimic the behavior of the existing
The Laurent series code calls the power series code, and follows its lead. So the answer to your question is yes, power series really do behave this way:
I would tend to think that it should work this way, that |
comment:13
The following test is working for me
Why is it discarded? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Replying to @videlec:
It used to fail. I don't know what changed to fix it, but it was somewhere else in Sage. I'll bisect the code if you really want to track it down. Once it was working, I added it as a test case, but forgot that it was already there as a "known bug" example. Fixed. |
Changed branch from u/gh-BrentBaccala/25219 to |
Power series have a
reverse()
method for series of valuation 1.This enhancement wraps the power series method and makes it available for LaurentSeries of valuation 1.
Component: algebra
Author: Brent Baccala
Branch/Commit:
ebd8f45
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/25219
The text was updated successfully, but these errors were encountered: