gcd.bigz {gmp}R Documentation

Great common divisor, Least common multiple

Description

Great common divisor and least common multiple.

Usage

gcd.bigz(a, b)
lcm.bigz(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

An element of class bigz

Author(s)

Antoine Lucas

References

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

See Also

gcdex

Examples

gcd.bigz(210,342)
lcm.bigz(210,342)

[Package gmp version 0.4-11 Index]