euclidean: Euclidean Algorithm

Description Usage Arguments Value References

View source: R/euclidean_f.R

Description

Euclid's algorithm is an efficient method for computing the greatest common divisor of two numbers. The largest number that divides both of them without leaving a remainder.

Usage

1
euclidean(a, b)

Arguments

a

A number.

b

A number.

Value

A number, which is the greatest common divisor.

References

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


henkar91/AdvRprogr_lab3 documentation built on May 17, 2019, 12:11 p.m.