gcdPrime: Greatest Common Divisor

Description Usage Arguments Details Value Examples

Description

This function computes the greatest common divisior (GCD) of two positive integers using the Euclidian algorithm.

Usage

1
gcdPrime(num1, num2)

Arguments

num1

The first integer

num2

The second integer

Details

This was written some abstract algebra class.

Value

gcd

Examples

1
gcdPrime(16,24)

isaacmichaud/IMisc documentation built on July 1, 2019, 10:22 a.m.