Skip to content

univariate polynomial _xgcd only over fields #13438

@saraedum

Description

@saraedum

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​

Component: basic arithmetic

Keywords: gcd, xgcd, beginner sd51

Author: Julian Rueth

Reviewer: Travis Scrimshaw, Michiel Kosters

Merged: sage-5.12.beta2

Issue created by migration from https://trac.sagemath.org/ticket/13438

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions