euclidean: Algorithm for finding the greatest common divisor, Euclidean...

Description Usage Arguments Value References

View source: R/euclidean.R

Description

Algorithm for finding the greatest common divisor, Euclidean algorithm

Usage

1
euclidean(a, b)

Arguments

a

integer

b

integer

Value

an integer which is the gcd(a,b)

References

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


SimonJonsson/lab3 documentation built on May 14, 2019, 8:58 a.m.