euclidean: This is the Euclidean function

Description Usage Arguments Value Examples

View source: R/euclidean.R

Description

This is a great function rarely seen in nature. See here: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=12&cad=rja&uact=8&ved=2ahUKEwj6nP7jsdHkAhVBtIsKHUfVCM8QFjALegQIABAB&url=https check input type obtain maximum and minimum of the inputs calculate the remainder repeat process until remainder is equal to zero return one to the last remainder

Usage

1
euclidean(a, b)

Arguments

a

a number

b

a number

Value

the GCD of two given numbers

Examples

1
2
 
euclidean(100,10)

alieti/testlab documentation built on Nov. 2, 2019, 1:40 p.m.