BigInteger.modInverse

BigInteger.modInverse

Class Overview | Class Members | This Package | All Packages

Syntax
public BigInteger modInverse( BigInteger m ) throws ArithmeticException
Description
Returns modular multiplicative inverse of this, mod m. Throws an ArithmeticException if m <= 0 or this has no multiplicative inverse mod m (i.e., gcd(this, m) != 1).