Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit ae51d00

Browse files
committed
Improved docstring of polynomial's xgcd.
1 parent 2dfeeb1 commit ae51d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5992,16 +5992,16 @@ cdef class Polynomial(CommutativeAlgebraElement):
59925992
@coerce_binop
59935993
def xgcd(self, other):
59945994
r"""
5995-
Compute an extended gcd for ``self`` and ``other``.
5995+
Compute an extended gcd of this polynomialn and ``other``.
59965996
59975997
INPUT:
59985998
5999-
- ``other`` -- a polynomial in the same ring as ``self``
5999+
- ``other`` -- a polynomial in the same ring as this polynomial
60006000
60016001
OUTPUT:
60026002
60036003
A tuple ``(r,s,t)`` where ``r`` is a greatest common divisor of
6004-
``self`` and ``other``, and ``s`` and ``t`` are such that ``r =
6004+
this polynomial and ``other``, and ``s`` and ``t`` are such that ``r =
60056005
s*self + t*other`` holds.
60066006
60076007
.. NOTE::

0 commit comments

Comments
 (0)