-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #10720: nth_root for (Laurent) power series
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 [[https://groups.google.com/forum/#!topic/sage-devel/ijYyZ4IduF0|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. URL: https://trac.sagemath.org/10720 Reported by: pernici Ticket author(s): Mario Pernici, Vincent Delecroix Reviewer(s): Sébastien Labbé
- Loading branch information
Showing
3 changed files
with
259 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters