Returns the greatest common divisor (GCD) of two
BigInteger numbers.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public BigInteger ExtendedGreatestCommonDivisor(
BigInteger left,
BigInteger right,
out BigInteger x,
out BigInteger y
)
Public Function ExtendedGreatestCommonDivisor (
left As BigInteger,
right As BigInteger,
<OutAttribute> ByRef x As BigInteger,
<OutAttribute> ByRef y As BigInteger
) As BigInteger
public:
BigInteger ExtendedGreatestCommonDivisor(
BigInteger left,
BigInteger right,
[OutAttribute] BigInteger% x,
[OutAttribute] BigInteger% y
)
member ExtendedGreatestCommonDivisor :
left : BigInteger *
right : BigInteger *
x : BigInteger byref *
y : BigInteger byref -> BigInteger
Parameters
- left
- Type: Extreme.MathematicsBigInteger
A BigInteger number. - right
- Type: Extreme.MathematicsBigInteger
A BigInteger number. - x
- Type: Extreme.MathematicsBigInteger
On return, the coefficient of right. - y
- Type: Extreme.MathematicsBigInteger
On return, the coefficient of right.
Return Value
Type:
BigIntegerThe greatest common divisor of
left and
right.
Reference