-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Lazy Dirichlet Series #32309
Comments
Branch: u/mantepse/lazy_dirichlet_series |
This comment has been minimized.
This comment has been minimized.
Commit: |
Last 10 new commits:
|
Dependencies: #31897 |
Changed keywords from none to LazyPowerSeries, FormalSeries |
Author: Martin Rubey |
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:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
comment:14
when using latex command in the doc, you need to start with For example, when using |
comment:15
Thank you for the hint, I tend to overlook this :-9 Warning: this ticket is currently not updated, the newest version is in #32324 and #32345, because it turned out to be important to get a broader view on the lazy framework. Once this framework is stable (very likely soon after #31897 is in), I will probably backport, if that makes review easier. |
comment:62
Replying to @mantepse:
It is something that we use to internally to manipulate things. Mainly it is a way around the
When you say ordinary polynomials, do you mean Laurent/Taylor/etc. series? I think this conversion is fine; it is not a coercion. IMO, we should trust that users knows what they is doing. We should not go out of our way to tell users they are misusing something. However, if you feel strongly about it, I know a way to easily extend things to stop this conversion, but I think it is a small bit of technical debt.
I have fixed it so that
I am pretty sure we cannot do anything better here because we take callables as valid input and perhaps someone wants to use a polynomial (which doesn't convert into the internal poly ring) to compute coefficients. I believe your previous code would have the same behavior. |
comment:63
Replying to @tscrim:
I cannot remember what the
Both. I think that all of the following should raise errors:
I was actually mistaken that the polynomial ring would be much stricter, there seems to be some inconsistency:
At least before your work, using a polynomial What I think is not correct is that a (Laurent or ordinary) polynomial or a Laurent of Dirichlet series is interpreted as a sequence of coefficients. This didn't happen before, at least not in the Taylor ticket code. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:66
The first was a bug, which I fixed. Then I got rid of that because I implemented a bit of a hack to prohibit what you want (I think that is unnecessary because of the |
comment:67
OK. I am still unhappy about the following:
I also think it would be better to disallow polynomial input for Dirichlet series. I would rather require the user here to ask for
|
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Martin Rubey |
Changed author from Martin Rubey to Martin Rubey, Travis Scrimshaw |
comment:70
Replying to @mantepse:
I made it so the first two fail, but they only fail because finite length Dirichlet series are not callable. If they become callable, then it will give a valid series output. I do not want to spend any more time making the code more brittle and complex to prevent some user input that may or may not be unwanted. There is no way to change the last one because it is callable and gets treated like a coefficient function, which is something the user might want. I would get upset as a user if
See comment above about callables. Greetings from Japan. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:72
please check that this merge makes sense. |
comment:73
Just a small suggestion: the |
Changed dependencies from #31897 to none |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:76
I agree with your assessment! Thank you! |
comment:77
Replying to @sagetrac-tmonteil:
I also said the same thing on another ticket before someone pointed out to me this is no longer necessary now that we are Python3 only. |
Changed branch from public/rings/lazy_dirichlet_series-32309 to |
We implement lazy Dirichlet series. For example,
CC: @tscrim @tejasvicsr1 @slel @kcrisman
Component: combinatorics
Keywords: LazyPowerSeries, FormalSeries
Author: Martin Rubey, Travis Scrimshaw
Branch/Commit:
5b48191
Reviewer: Travis Scrimshaw, Martin Rubey
Issue created by migration from https://trac.sagemath.org/ticket/32309
The text was updated successfully, but these errors were encountered: