gcd: Greatest Common Divisor

Description Usage Arguments Value Examples

View source: R/gcd.R

Description

Compute the greatest common divisor.

Usage

1
gcd(a, b)

Arguments

a, b

Single integers.

Value

The greatest common divisor of a and b.

Examples

1
gcd(12, 8)

BastiHz/numberphile documentation built on Oct. 12, 2020, 6:03 p.m.