int modulus
) Returns the modular multiplicative inverse of this integer
modulo modulus
.
The modulus
must be positive.
It is an error if no modular inverse exists.
Source
/**
* Returns the modular multiplicative inverse of this integer
* modulo [modulus].
*
* The [modulus] must be positive.
*
* It is an error if no modular inverse exists.
*/
int modInverse(int modulus);