- zmodn.Zmodn.inv()
Compute the inverse of the Zmodn object (for both scalars and matrices).
- Returns:¶
Inverse as a Zmodn object.
- Return type:¶
- Raises:¶
ValueError – If the matrix is not square or not invertible.
Compute the inverse of the Zmodn object (for both scalars and matrices).
Inverse as a Zmodn object.
ValueError – If the matrix is not square or not invertible.