#13438: univariate polynomial _xgcd only over fields
-------------------------------------+-------------------------------------
Reporter: saraedum | Owner: AlexGhitza
Type: task | Status: needs_review
Priority: trivial | Milestone: sage-5.11
Component: basic arithmetic | Resolution:
Keywords: gcd, xgcd, | Merged in:
beginner | Reviewers: Travis Scrimshaw,
Authors: Julian Rueth | Michiel Kosters
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
-------------------------------------+-------------------------------------
Old description:
> {{{sage.rings.polynomial.polynomial_element.Polynomial}}} provides an
> implementation for {{{_xgcd}}}. This implementation is not correct for
> polynomials over arbitrary rings. Therefore it should be moved to
> {{{sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_field}}}.
>
> The way it currently is, doesn't cause any bugs (except for one which
> already has a stopgap warning) because only elements of a PID call the
> {{{_xgcd}}} method.
New description:
{{{sage.rings.polynomial.polynomial_element.Polynomial}}} provides an
implementation for {{{_xgcd}}}. This implementation is not correct for
polynomials over arbitrary rings. Therefore it should be moved to
{{{sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_field}}}.
The way it currently is, doesn't cause any bugs (except for one which
already has a stopgap warning) because only elements of a PID call the
{{{_xgcd}}} method.
----
Apply: [attachment:trac_13438_header.patch]
--
Comment (by tscrim):
Looks good to me. Thank you.
For patchbot:
Apply: trac_13438_header.patch
--
Ticket URL: <http://trac.sagemath.org/ticket/13438#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.