-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add coefficients(a::AbsPowerSeriesRingElem)
#1811
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1811 +/- ##
=======================================
Coverage 88.03% 88.03%
=======================================
Files 119 119
Lines 30057 29995 -62
=======================================
- Hits 26460 26406 -54
+ Misses 3597 3589 -8 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks plausible. Of course no test, so I am going to trust that you need this and verified it works "as expected" (whatever that means)
@fieker does that make sense? |
Ok, so what I wanted to add is a function that gives me all coefficients (as |
you need to be thinking about what you want: you want the leading zeros? If the element has a valuation? @lgoettgens what do you need/ want? I think for polys we allow access past the degree - to get 0, for power series (and Laurent) even going to -infty would make sense |
I don't really care about leading zeros. |
Bump |
It is not clear to me that this right thing. A faithful representation of the power series would need to include the coefficients up |
That's true. I adapted the function an tests accordingly. |
Off-topic, but: this function looks to me like another example of an |
@fieker this now goes up to |
Unfortunately, due to branch names being weird, this has to get force-merged. @fingolfin @thofma could you do the favor? |
No description provided.