euclidean: find the greatest common divisor of two numbers.

Description Usage Arguments Value See Also Examples

View source: R/euclidean.R

Description

find the greatest common divisor of two numbers.

Usage

1
euclidean(a, b)

Arguments

a

A number.

b

A number.

Value

The greatest common divisor of a and b.

See Also

https://en.wikipedia.org/wiki/Euclidean_algorithm

Examples

1
2
euclidean(123612, 13892347912)
euclidean(100, 1000)

Xiaolin-Jiang/lab3 documentation built on Dec. 18, 2021, 7:22 p.m.