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
inverse_series method for polynomials #19005
Comments
Branch: u/vdelecroix/19005 |
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:3
Hi Vincent, Could you please explain why you'd like to have these features as methods of polynomial objects rather than power series objects? Thanks! |
comment:4
Hi Marc, Replying to @mezzarobba:
Vincent |
comment:5
Replying to @videlec:
No, as long as the methods you are implementing on polynomials are just helpers for generic implementations on power series, I agree. But I wouldn't want to clutter the interface of polynomials with every possible operation on power series, elements of quotients of polynomial rings, etc. Anyway, this ticket probably wasn't the right place to make this comment, because I agree that inversion modulo xk is fundamental enough to be part of the interface of polynomials themselves.
Well, that's probably something that should be fixed on its own! |
comment:6
The docstring of
Did you intend it to work over non-commutative rings? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Reviewer: Marc Mezzarobba |
comment:11
Though I am not definitive on this, I find it weird to have the two distinct methods
|
comment:12
Hi Bruno, Replying to @bgrenet:
I definitely do not want to involve a case search to get the inverse series (the calls to
What about |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Hi Vincent, hi Bruno, Replying to @videlec:
I tend to agree.
Ore perhaps |
comment:15
Hi Vincent, hi (again) Marc, Replying to @mezzarobba:
Well, a
My preferred choice goes to |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:18
Rebased and updated with your last remarks. Vincent |
comment:19
Otherwise looks good to me. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:22
Replying to @mezzarobba:
Of course. I will not create a dummy ring just for checking this code path anyway. Vincent |
comment:23
Replying to @videlec:
Fair enough. But I was wondering why you didn't just remove the test... |
Changed branch from u/vdelecroix/19005 to |
The polynomials in Sage lack many series operation (see #18356 for some motivation). We implement a generic
cpdef Polynomial inverse_series(self, long prec)
method and specialized ones for polynomials using flint backends.See also #19006
CC: @sagetrac-pernici @mezzarobba
Component: commutative algebra
Author: Vincent Delecroix
Branch/Commit:
8a09308
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/19005
The text was updated successfully, but these errors were encountered: