- zmodn.Zmodn.mod_inv()
Compute the modular inverse of the Zmodn object.
- Returns:¶
Modular inverse as a Zmodn object.
- Return type:¶
- Raises:¶
ValueError – If the Zmodn object represents a matrix (use inv() for matrices).
Compute the modular inverse of the Zmodn object.
Modular inverse as a Zmodn object.
ValueError – If the Zmodn object represents a matrix (use inv() for matrices).