Modular Matrix Inverse in Zn
Residue Matrices
Cryptography uses residue matrices: matrices in all elements are in Zn. All operations
on residue matrices are performed the same as for the integer matrices except that
the operations are done in modular arithmetic. One interesting result is that a residue
matrix has a multiplicative inverse if the determinant of the matrix has a multiplicative
inverse in Zn. In other words, a residue matrix has a multiplicative inverse if gcd
(det(A), n) = 1.
引用格式
Ali Broumandnia (2024). Modular Matrix Inverse in Zn (https://www.mathworks.com/matlabcentral/fileexchange/64813-modular-matrix-inverse-in-zn), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!ModularMatrixInverse/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Update gcd function |