-
-
Notifications
You must be signed in to change notification settings - Fork 702
Description
There is a nth_root method defined on univariate polynomial (via Newton method)
sage: R.<x> = QQ[]
sage: ((1 + x - x^2)**5).nth_root(5)
-x^2 + x + 1
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 straightforward nth_root for univariate (Laurent) power series.
This branch will not consider support for extend=True (see this sage-devel thread). When extend=True the method will simply raise a NotImplementedError 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.
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