euclidean: Function to calculate greatest common divisor of two numbers...

Description Usage Arguments Source

View source: R/euclidean.R

Description

Function to calculate greatest common divisor of two numbers (x and y) using the Euclidean algorithm based on pseudocode from Wikipedia.

Usage

1
euclidean(x, y)

Arguments

x

a numeric scalars or integers.

y

a numeric scalars or integers.

Source

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


drowsygoat/lab3.package documentation built on Dec. 20, 2021, 1:19 a.m.