R/AllGenerics.R

R/mathematics.R

math_gcd.Rd

Computes the greatest common divisor (GCD) of two integer using the Euclidean algorithm.

math_gcd(x, y) # S4 method for numeric,numeric math_gcd(x, y)

A numeric vector.

numeric

Other mathematic functions: math_lcm()

math_lcm()

N. Frerebeau