next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: gcdCoefficients

gcdCoefficients -- gcd with coefficients

Description

gcdCoefficients(a,b) -- returns {d,r,s} so that a*r + b*s is the greatest common divisor d of a and b.

Works for integers or elements of polynomial rings in onve variable.

See also

Ways to use gcdCoefficients :

For the programmer

The object gcdCoefficients is a method function.