Whetstone Class reference
Whetstone Class reference
Whetstone
NumberStone
greatestCommonDivisor Class
greatestCommonDivisor Methods
GreatestCommonDivisor Method
GreatestCommonDivisor Method (IList(Int64))
GreatestCommonDivisor Method (IList(BigInteger))
GreatestCommonDivisor Method (Int32[])
GreatestCommonDivisor Method (Int64[])
GreatestCommonDivisor Method (BigInteger[])
greatestCommonDivisor
GreatestCommonDivisor Method (IList
Int64
)
Get the greatest common divisor of an array on
Int64
s.
Namespace:
NumberStone
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
long
GreatestCommonDivisor
(
IList
<
long
>
val
)
Parameters
val
Type:
System.Collections.Generic
IList
Int64
An
IList
T
of numbers.
Return Value
Type:
Int64
The greatest common divisor of
val
.
See Also
Reference
greatestCommonDivisor Class
GreatestCommonDivisor Overload
NumberStone Namespace