Skip to content

nth_root for (Laurent) power series #10720

@sagetrac-pernici

Description

@sagetrac-pernici

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.

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions