Click or drag to resize

greatestCommonDivisorGreatestCommonDivisor Method (IListInt64)

Get the greatest common divisor of an array on Int64s.

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static long GreatestCommonDivisor(
	IList<long> val
)

Parameters

val
Type: System.Collections.GenericIListInt64
An IListT of numbers.

Return Value

Type: Int64
The greatest common divisor of val.
See Also