GCD Function

Standard Library function that returns the greatest common divisor of some integers greater than 0.

Usage

    result = GCD(i)

Input Parameters

i—An array of integers greater than 0.

Returned Value

result—An integer: the greatest common divisor of the integers i.

Keywords

None.

Examples

PM, GCD( [12,20,32] )

See Also

FACTOR, LCM, PRIME