euclidian: Greatest common factor.

Description Usage Arguments Value Examples

View source: R/euclidian.R

Description

euclidian function returns the greatest common factor present in its arguments. euclidian function takes two intergers or maybe numbers and it returns the greatest common factor of the

Usage

1
euclidian(x, y)

Arguments

x

is Numeric or integer of length 1

y

is Numeric or integer of length 1

Value

if all the input values are integers or numeric it returns the greatest common divisor if the input is something else it returns error https://en.wikipedia.org/wiki/Euclidean_algorithm for more details.

Examples

1
euclidian(10,35)

mera2/our_euc documentation built on May 22, 2017, 4:14 a.m.