-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Implementation of streams as backend for LazyLaurentSeries #31897
Comments
Changed keywords from LazyPowerSeries, FormalSeries, GSoC to LazyPowerSeries, FormalSeries, GSoC21 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:127
One further thought: I'm not quite sure we should really insist in the doctests on a difference between In case you do not agree, did you have a test as follows in mind:
|
comment:128
Replying to @mantepse:
Running that argument further, Here we are actually wanting to test something about the implementation. Plus I don't think we should test
Yes, that would be the test I would want to run here. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:130
Replying to @tscrim:
I have done the requested change. The remainder of this comment is only for our personal enjoyment: I think that there is quite a fundamental - and in fact user-visible - difference between I agree with your argument that |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:132
I'm not sure whether you will hate me for this :-) I think we should change the order of the optional arguments. Currently, we have:
I think
would be more logical. As I mentioned on #32309, we should also give the user the possibility to be explicit whether the argument is supposed to be interpreted as a polynomial or a function that yields the coefficients. It appears to me, that the least disruptive way is
Note that the original code does only allows a single value as argument to the element constructor, which then returns a constant series. |
comment:133
Ping? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:136
Should we insist that valuation is an integer? We currently test that it is not |
comment:137
Sorry, busy with teaching at the start of the week. comment:132: I don't think we should have a separate Putting comment:136: I don't think we really need to make sure all input is valid. So we could trust the user with good input (and the result will fail at some point). However, I am not opposed to adding this |
comment:138
Sorry to put extra burden on you. Concerning coefficients: there is no way to distinguish between coefficients and polynomials, since polynomials are callable. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:140
I'm afraid we should also do something about
Currently, the signature is
which is confusing. Should we make it
and allow
? (perhaps it would be better to deprecate this method anyway) |
Changed branch from u/mantepse/dense_lls-31897 to u/tscrim/dense_lls-31897 |
comment:141
Don't worry about it; I just might not be able to always push changes so quickly this week. We still don't have a good replacement for what the I thought a bit more about the I also added the checks for New commits:
|
comment:142
Thank you! Looks OK, if you agree, please set it back to 'positive review'! |
comment:143
Thank you. Now back to work on Dirichlet series. |
Changed branch from u/tscrim/dense_lls-31897 to |
We rewrite the input data for
LazyLaurentSeries
to use aStream
that has both a dense version similar to alazy_list
and a sparse version using adict
. We use various subclasses to build an evaluation tree for expressions involving lazy Laurent series elements.We provide additional features not previously implemented for lazy Laurent series, such as functional definitions and composition. This provides enhancements for features such as exact arithmetic, equality, and performance. This is supplemented by an extensive suite of tests and examples.
This ticket is part of the meta ticket #31651. It provides the underlying data structures for lazy series, which later tickets include lazy, e.g., Taylor (usual power series) and Dirichlet series. This will eventually serve as a replacement for
LazyPowerSeries
(#32367; see also #15673).CC: @mantepse @tscrim
Component: combinatorics
Keywords: LazyPowerSeries, FormalSeries, gsoc2021
Author: Tejasvi Chebrolu, Travis Scrimshaw
Branch/Commit:
1ff0cac
Reviewer: Travis Scrimshaw, Martin Rubey, Samuel Lelièvre
Issue created by migration from https://trac.sagemath.org/ticket/31897
The text was updated successfully, but these errors were encountered: