InverseModI function
Fully qualified name: Std.Math.InverseModI
function InverseModI(a : Int, modulus : Int) : Int
Summary
Returns the multiplicative inverse of a modular integer.
Description
This will calculate the multiplicative inverse of a
modular integer b
such that a • b = 1 (mod modulus)
.