gcdCoefficients(a, b)
This returns a sequence of the form (d, r, s)
, where $d=\gcd(a, b)$ and $r$ and $s$ are the minimal Bézout coefficients satisfying the equation $d = ar + bs$.
It works for integers or elements of polynomial rings in one variable.
|
|
|
|
|
|
|
|
|
The object gcdCoefficients is a method function.
The source of this document is in Macaulay2Doc/doc_arithmetic.m2:149:0.