-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
nth_root for (Laurent) power series #10720
Comments
Attachment: trac_10720_power_series_nth_root.patch.gz |
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to power series |
Author: mario pernici |
Attachment: trac_10720_power_series_nth_root_2.patch.gz |
This comment has been minimized.
This comment has been minimized.
comment:3
The nth-root of power series
With this patch
there is a bug in
|
comment:4
in the above message there is a wrong example on where sqrt fails;
|
comment:6
Apply only trac_10720_power_series_nth_root_2.patch |
This comment has been minimized.
This comment has been minimized.
comment:7
Attachment: trac_10720_power_series_nth_root_3.patch.gz With trac_10720_power_series_nth_root_3.patch nth_root is much faster for
with the previous version it takes 84s |
Attachment: trac_10720_power_series_nth_root_4.patch.gz |
comment:8
With trac_10720_power_series_nth_root_4.patch In the following benchmarks apply
Inversion benchmark:
Square root benchmark:
The speedup is large because the terms with high degree in |
This comment has been minimized.
This comment has been minimized.
comment:10
This is an enhancement rather than a defect. |
comment:11
Which patches need to be applied? Please put some information in the ticket description. If |
comment:13
As Volker mentioned, |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:35
It is indeed better
|
comment:36
Replying to @fchapoton:
But the main advantage of the method proposed here is that it works in positive characteristic. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed author from Vincent Delecroix to Mario Pernici, Vincent Delecroix |
comment:39
|
comment:40
|
Reviewer: Sébastien Labbé |
comment:41
Once, those three changes on the documentation aspect are done, feel free to change the status to positive review on my behalf. |
comment:43
rebased and fixed. I am only setting to needs review to have some patchbot reviews. |
comment:44
Merci Sébastien! |
Changed branch from u/vdelecroix/10720 to |
There is a nth_root method defined on univariate polynomial (via Newton method)
We provide a more general implementation in a new method
_nth_root_series
that compute the series expansion of the n-th root for univariate polynomials. Using it we implement straightforwardnth_root
for univariate (Laurent) power series.This branch will not consider support for
extend=True
(see this sage-devel thread). Whenextend=True
the method will simply raise aNotImplementedError
while waiting for Puiseux series in Sage (see #4618).On multi-variate polynomials there is also a
nth_root
method but which is implemented via factorization (sic)! The multivariate case should just call the univariate case with appropriate variable ordering. This will be dealt with in another ticket.CC: @robertwb @bgrenet
Component: commutative algebra
Keywords: power series
Author: Mario Pernici, Vincent Delecroix
Branch/Commit:
eddd45d
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/10720
The text was updated successfully, but these errors were encountered: