Delen via


De functie ExtendedGreatestCommonDivisorI

Volledig gekwalificeerde naam: Std.Math.ExtendedGreatestCommonDivisorI

function ExtendedGreatestCommonDivisorI(a : Int, b : Int) : (Int, Int)

Samenvatting

Retourneert een tuple (u,v) zodanig dat ua+vb=GCD(a,b) Opmerking: GCD is altijd positief, behalve dat GCD(0,0)=0.