Class BigIntegerExtensions (mod)
Extensions to System.Numerics.BigInteger.
Inheritance
BigIntegerExtensions (mod)
Namespace: Tensor.Algorithm
Assembly: Tensor.Algorithm.dll
Syntax
[<AutoOpen>]
module BigIntegerExtensions
Methods
Name | Description |
---|---|
extension System.Numerics.BigInteger.Bezout: bigint * bigint -> bigint * bigint * bigint | Computes the GCD of a and b and the coefficients of Bezout's identity using the extended Euclidean algorithm. Returns a tuple of (gcd, x, y) so that: ax + by = gcd(a,b). The returned GCD is always non-negative and gcd(0, 0)=0. |