Method Gmp.mpz()->gcdext2()
- Method gcdext2
- Description
Compute the greatest common divisor between this mpz object and
x
. An array({g,s})
is returned whereg
is the greatest common divisor, ands
is a coefficient that satisfiesthis * s + x * t = g
where
t
is some integer value.- See also