Returns the modulo inverse of this. Throws ArithmeticException if the inverse does not exist. (i.e. gcd(this, modulus) != 1)

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public BigInteger modInverse(
	BigInteger modulus
)
Visual Basic
Public Function modInverse ( 
	modulus As BigInteger
) As BigInteger
Visual C++
public:
BigInteger^ modInverse(
	BigInteger^ modulus
)
F#
member modInverse : 
        modulus : BigInteger -> BigInteger 

Parameters

modulus
Type: MonoSoftware.Core..::..BigInteger

Return Value

Type: BigInteger

See Also