Macaulay2 » Documentation
Packages » Macaulay2Doc :: gcdCoefficients
next | previous | forward | backward | up | index | toc

gcdCoefficients -- gcd with coefficients


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.