next | previous | forward | backward | up | top | index | toc | home

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.

See also

Ways to use gcdCoefficients :