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

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.