gcdex {gmp}R Documentation

Compute Bezoult coefficient

Description

Compute g,s,t as as + bt = g = gcd(a,b). s and t are also known as Bezoult coefficients.

Usage

gcdex(a, b)

Arguments

a,b Either integer, numeric or string value (String value: ither starting with 0x for hexadecimal, 0b for binary or without prefix for decimal values.) Or an element of class bigz.

Value

3 values:

g,s,t Elements of class bigz

Author(s)

Antoine Lucas

References

Gnu MP Library see http://swox.com/gmp

See Also

gcd.bigz

Examples

gcdex(342,654)


[Package gmp version 0.4-6 Index]