Returns the greatest common divisor of two numbers.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static T GreatestCommonDivisor(
T value1,
T value2
)
Public Shared Function GreatestCommonDivisor (
value1 As T,
value2 As T
) As T
public:
static T GreatestCommonDivisor(
T value1,
T value2
)
static member GreatestCommonDivisor :
value1 : 'T *
value2 : 'T -> 'T
Parameters
- value1
- Type: T
- value2
- Type: T
Return Value
Type:
T
Reference