Extended GCD
Finds gcd(a, b) and the Bézout coefficients x and y where a·x + b·y = gcd.
- ID:
extended-gcd - Category: Arithmetic / Logic
- Aliases: egcd, euclidean algorithm, bezout
Finds gcd(a, b) and the Bézout coefficients x and y where a·x + b·y = gcd.
extended-gcd