Kone
0.0.0-dev-1
common
kone.numberTheory
/
com.lounres.kone.numberTheory
/
bezoutIdentityWithGCD
bezout
Identity
With
GCD
fun
bezoutIdentityWithGCD
(
a
:
Int
,
b
:
Int
)
:
BezoutCoefficientsWithGCD
<
Int
>
fun
bezoutIdentityWithGCD
(
a
:
Long
,
b
:
Long
)
:
BezoutCoefficientsWithGCD
<
Long
>
Computes "the smallest"
Bézout coefficients
and
GCD
of
a
and
b
.