euclidian: algorithm to find the greatest common divisor of two numbers.

Description Usage Arguments Value References

Description

Takes two numeric integer numbers and find its maximum commom divisor

Usage

1
euclidian(first_number, second_number)

Arguments

first_number

A numeric value to be divided by all it numbers smaller or equal than them, arranged in a vector

second_number

A numeric value to be divided by the vector created

Value

maximum commom divisor betwen first_number and second_ number

References

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


rebinhosini/AdvancedR documentation built on May 27, 2019, 4:01 a.m.